libglvnd: fix build on darwin
The --version-script flag is only supported by GNU LD
This commit is contained in:
parent
9d90d5fb29
commit
efce3c1367
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user