Sync with make-rules repo

This commit is contained in:
Eelco Dolstra 2014-04-03 17:37:14 +02:00
commit daa16cca11
6 changed files with 43 additions and 18 deletions

View file

@ -32,8 +32,11 @@ ifeq ($(BUILD_SHARED_LIBS), 1)
GLOBAL_CFLAGS += -fPIC
GLOBAL_CXXFLAGS += -fPIC
ifneq ($(OS), Darwin)
ifneq ($(OS), SunOS)
GLOBAL_LDFLAGS += -Wl,--no-copy-dt-needed-entries
endif
endif
SET_RPATH_TO_LIBS ?= 1
endif