1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-17 09:32:50 +00:00

libglvnd: fix build on darwin

The --version-script flag is only supported by GNU LD
This commit is contained in:
Mario Rodas 2019-10-24 21:00:00 -05:00
parent 9d90d5fb29
commit efce3c1367
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

View file

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
--replace "-Wl,-Bsymbolic " ""
substituteInPlace src/EGL/Makefile.am \
--replace "-Wl,-Bsymbolic " ""
substituteInPlace src/GLdispatch/Makefile.am \
--replace "-Xlinker --version-script=$(VERSION_SCRIPT)" "-Xlinker"
'';
NIX_CFLAGS_COMPILE = [