Skip to content

Commit

Permalink
qmake|Mac OS X: Deployment checks QTDIR environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 17, 2012
1 parent b96dc04 commit 4541a43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/libdeng2/libdeng2.pro
Expand Up @@ -64,13 +64,16 @@ 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")
fixInstallName("QtGui.framework/Versions/4/QtGui")
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")
}

Expand Down

0 comments on commit 4541a43

Please sign in to comment.