- 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>
Wed, 12 Mar 2014 13:42:26 +0000 (14:42 +0100)
Makefile

index 7bbc258d3753614b9bb91b2582bbe31eb40a28ae..f7b466fdc8866310a2e19ae4bd8c99a4612a1810 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