Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path
authorSam Lantinga <slouken@libsdl.org>
Tue, 30 Jul 2013 23:33:32 -0700
changeset 7551 823c0c5b2d8d
parent 7550 ff3e041c27f3
child 7552 463f78515a07
Fixed bug 2000 - The framework INSTALL_PATH still uses @executable_path dak180 Since the MACOSX_DEPLOYMENT_TARGET is 10.5; INSTALL_PATH should use @rpath. See http://www.dribin.org/dave/blog/archives/2009/11/15/rpath/ for the details on why this is a good idea.
Xcode/SDL/SDL.xcodeproj/project.pbxproj
--- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Tue Jul 30 21:39:38 2013 -0700
+++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Tue Jul 30 23:33:32 2013 -0700
@@ -2697,7 +2697,7 @@
 				FRAMEWORK_VERSION = A;
 				HEADER_SEARCH_PATHS = /usr/X11R6/include;
 				INFOPLIST_FILE = "Info-Framework.plist";
-				INSTALL_PATH = "@executable_path/../Frameworks";
+				INSTALL_PATH = "@rpath";
 				OTHER_LDFLAGS = "-liconv";
 				PRODUCT_NAME = SDL2;
 				WRAPPER_EXTENSION = framework;
@@ -2751,7 +2751,7 @@
 				FRAMEWORK_VERSION = A;
 				HEADER_SEARCH_PATHS = /usr/X11R6/include;
 				INFOPLIST_FILE = "Info-Framework.plist";
-				INSTALL_PATH = "@executable_path/../Frameworks";
+				INSTALL_PATH = "@rpath";
 				OTHER_LDFLAGS = "-liconv";
 				PRODUCT_NAME = SDL2;
 				WRAPPER_EXTENSION = framework;