- Makefile: don't export DYLD_LIBRARY_PATH/LD_LIBRARY_PATH: not needed if we link minisat objects instead of library

This commit is contained in:
Siesh1oo 2014-03-12 14:42:26 +01:00
parent 95e309b94d
commit ed2c577592
1 changed files with 0 additions and 2 deletions

View File

@ -30,13 +30,11 @@ export PATH := $(PWD):$(DESTDIR)/bin:$(PATH)
ifeq (Darwin,$(findstring Darwin,$(shell uname))) ifeq (Darwin,$(findstring Darwin,$(shell uname)))
# add macports include and library path to search directories, don't use '-rdynamic' and '-lrt': # 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 CXXFLAGS += -I/opt/local/include
LDFLAGS += -L/opt/local/lib LDFLAGS += -L/opt/local/lib
QMAKE = qmake QMAKE = qmake
SED = gsed SED = gsed
else else
export LD_LIBRARY_PATH := ${DESTDIR}/lib:$(LD_LIBRARY_PATH)
LDFLAGS += -rdynamic LDFLAGS += -rdynamic
LDLIBS += -lrt LDLIBS += -lrt
QMAKE = qmake-qt4 QMAKE = qmake-qt4