diff --git a/doomsday/libdeng2/libdeng2.pro b/doomsday/libdeng2/libdeng2.pro index 37b37766fa..7c2b8e2509 100644 --- a/doomsday/libdeng2/libdeng2.pro +++ b/doomsday/libdeng2/libdeng2.pro @@ -64,6 +64,8 @@ SOURCES += \ macx { defineTest(fixInstallName) { doPostLink("install_name_tool -change $$1 @executable_path/../Frameworks/$$1 libdeng2.2.dylib") + doPostLink("install_name_tool -change $$(QTDIR)lib/$$1 @executable_path/../Frameworks/$$1 libdeng2.2.dylib") + doPostLink("install_name_tool -change $$(QTDIR)/lib/$$1 @executable_path/../Frameworks/$$1 libdeng2.2.dylib") } fixInstallName("QtCore.framework/Versions/4/QtCore") fixInstallName("QtNetwork.framework/Versions/4/QtNetwork") @@ -71,6 +73,7 @@ macx { fixInstallName("QtOpenGL.framework/Versions/4/QtOpenGL") # Update the library included in the main app bundle. + doPostLink("mkdir -p ../engine/doomsday.app/Contents/Frameworks") doPostLink("cp -fRp libdeng2*dylib ../engine/doomsday.app/Contents/Frameworks") }