mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 16:02:43 +01:00
parent
d6a45f6bdb
commit
7191a7394a
1 changed files with 2 additions and 0 deletions
2
lib.mk
2
lib.mk
|
|
@ -32,7 +32,9 @@ ifeq ($(BUILD_SHARED_LIBS), 1)
|
||||||
GLOBAL_CFLAGS += -fPIC
|
GLOBAL_CFLAGS += -fPIC
|
||||||
GLOBAL_CXXFLAGS += -fPIC
|
GLOBAL_CXXFLAGS += -fPIC
|
||||||
ifneq ($(OS), Darwin)
|
ifneq ($(OS), Darwin)
|
||||||
|
ifneq ($(OS), SunOS)
|
||||||
GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
|
GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
SET_RPATH_TO_LIBS ?= 1
|
SET_RPATH_TO_LIBS ?= 1
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue