- Makefile: don't export DYLD_LIBRARY_PATH/LD_LIBRARY_PATH: not needed if we link...
authorSiesh1oo <siesh1oo@siesh1oo.no>
Wed, 12 Mar 2014 13:42:26 +0000 (14:42 +0100)
committerSiesh1oo <siesh1oo@siesh1oo.no>
Thu, 13 Mar 2014 10:29:15 +0000 (11:29 +0100)
Makefile

index 9460e3413d868f915ef585d90a6e53b425c8865c..1eef767b33f3c4cfdb37155df7c457b59e4ae886 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,13 +30,11 @@ export PATH := $(PWD):$(DESTDIR)/bin:$(PATH)
 
 ifeq (Darwin,$(findstring Darwin,$(shell uname)))
        # add macports include and library path to search directories, don't use '-rdynamic' and '-lrt':
-       export DYLD_LIBRARY_PATH := ${DESTDIR}/lib:$(DYLD_LIBRARY_PATH)
        CXXFLAGS += -I/opt/local/include
        LDFLAGS += -L/opt/local/lib
        QMAKE = qmake
        SED = gsed
 else
-       export LD_LIBRARY_PATH := ${DESTDIR}/lib:$(LD_LIBRARY_PATH)
        LDFLAGS += -rdynamic
        LDLIBS += -lrt
        QMAKE = qmake-qt4