Xcode: Add additional rpath entries to wesnothd

This should allow it to run in different configurations:
- When clicking "run" in Xcode, it's adjacent to the Wesnoth applicaiton
- If you wanted a standalone install of wesnothd you'd now only need to copy over the Frameworks directory.

All of this assumes that wesnothd will run at all, which works with a debug build but probably not in the actual release.
This commit is contained in:
Celtic Minstrel 2022-07-01 15:39:26 -04:00
parent 864666f1dc
commit eddd762615

View file

@ -6534,6 +6534,7 @@
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
INSTALL_PATH = /usr/local/bin;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks \"@loader_path/The Battle for Wesnoth.app/Contents/Frameworks\" @loader_path/Frameworks";
OTHER_CFLAGS = "-Wall";
PRODUCT_BUNDLE_IDENTIFIER = org.wesnoth.wesnothd;
PRODUCT_NAME = wesnothd;
@ -6760,6 +6761,7 @@
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
INSTALL_PATH = /usr/local/bin;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks \"@loader_path/The Battle for Wesnoth.app/Contents/Frameworks\" @loader_path/Frameworks";
OTHER_CFLAGS = "-Wall";
PRODUCT_BUNDLE_IDENTIFIER = org.wesnoth.wesnothd;
PRODUCT_NAME = wesnothd;
@ -6799,6 +6801,7 @@
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
INSTALL_PATH = /usr/local/bin;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks \"@loader_path/The Battle for Wesnoth.app/Contents/Frameworks\" @loader_path/Frameworks";
OTHER_CFLAGS = "-Wall";
PRODUCT_BUNDLE_IDENTIFIER = org.wesnoth.wesnothd;
PRODUCT_NAME = wesnothd;