Permalink
Browse files

Use proper rpath syntax on OSX.

  • Loading branch information...
daniel-kristjansson committed Jun 2, 2013
1 parent fd032f1 commit 692ef9bfdf7df0407c3c164c2a2c6fa5f6fa229e
@@ -20,9 +20,20 @@ contains(QMAKE_CXX, "g++") {
QMAKE_CXXFLAGS += -O0 -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs
}
macx {
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../..
}
linux | freebsd {
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../..
}
# Input
HEADERS += test_mythsystem.h
@@ -20,9 +20,20 @@ contains(QMAKE_CXX, "g++") {
QMAKE_CXXFLAGS += -O0 -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs
}
macx {
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../..
}
linux | freebsd {
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../..
}
# Input
HEADERS += test_mythsystemlegacy.h
@@ -16,9 +16,20 @@ contains(QMAKE_CXX, "g++") {
QMAKE_CXXFLAGS += -O0 -fprofile-arcs -ftest-coverage
QMAKE_LFLAGS += -fprofile-arcs
}
macx {
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath,$(PWD)/../..
}
linux | freebsd {
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/zeromq/src/.libs/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/nzmqt/src/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../../../../external/qjson/lib/
QMAKE_LFLAGS += -Wl,-rpath=$(PWD)/../..
}
# Input
HEADERS += test_mythtimer.h

0 comments on commit 692ef9b

Please sign in to comment.