Skip to content

Instantly share code, notes, and snippets.

@geoffb
Created June 29, 2010 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoffb/456632 to your computer and use it in GitHub Desktop.
Save geoffb/456632 to your computer and use it in GitHub Desktop.
Patch to allow Tiled 0.5.0+ to compile under OSX
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