gnat13Packages.gnatcoll-core: fix dylib names
This commit is contained in:
parent
d3985f53bb
commit
0e00487628
|
@ -41,6 +41,10 @@ stdenv.mkDerivation {
|
|||
"LIBRARY_TYPE=relocatable"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.isDarwin {
|
||||
NIX_LDFLAGS = "-headerpad_max_install_names";
|
||||
};
|
||||
|
||||
# Fixes gprbuild being linked statically always. Based on the AUR's patch:
|
||||
# https://aur.archlinux.org/cgit/aur.git/plain/0001-Makefile-build-relocatable-instead-of-static-binary.patch?h=gprbuild&id=bac524c76cd59c68fb91ef4dfcbe427357b9f850
|
||||
patches = lib.optionals (!stdenv.hostPlatform.isStatic) [
|
||||
|
|
Loading…
Reference in New Issue