Created
June 29, 2010 00:59
-
-
Save geoffb/456632 to your computer and use it in GitHub Desktop.
Patch to allow Tiled 0.5.0+ to compile under OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/libtiled/libtiled.pro b/src/libtiled/libtiled.pro | |
index bd24e9c..5438f80 100644 | |
--- a/src/libtiled/libtiled.pro | |
+++ b/src/libtiled/libtiled.pro | |
@@ -31,3 +31,8 @@ mac { | |
ppc | |
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk | |
} | |
+ | |
+macx { | |
+ DESTDIR = ../../bin/Tiled.app/Contents/Frameworks | |
+ QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/ | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment