diff --git a/cef.gyp b/cef.gyp index d80c6db1b..e28dec175 100644 --- a/cef.gyp +++ b/cef.gyp @@ -141,7 +141,6 @@ 'files': [ '<(PRODUCT_DIR)/libcef.dylib', '<(PRODUCT_DIR)/libffmpegsumo.dylib', - 'tests/cefclient/cefclient_mac_app.sh', ], }, { @@ -366,6 +365,9 @@ 'libcef_dll/transfer_util.cpp', 'libcef_dll/transfer_util.h', ], + 'xcode_settings': { + 'INSTALL_PATH': '@executable_path', + }, 'conditions': [ ['OS=="win"', { 'dependencies': [ diff --git a/tests/cefclient/cefclient_mac_app.sh b/tests/cefclient/cefclient_mac_app.sh deleted file mode 100755 index 64927fa93..000000000 --- a/tests/cefclient/cefclient_mac_app.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -DIR=$(cd "$(dirname "$0")"; pwd) -export DYLD_FALLBACK_LIBRARY_PATH="$DIR:/lib:/usr/lib" -exec "$DIR/cefclient" - diff --git a/tests/cefclient/mac/Info.plist b/tests/cefclient/mac/Info.plist index d44fd54b7..83c535e41 100644 --- a/tests/cefclient/mac/Info.plist +++ b/tests/cefclient/mac/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion English CFBundleExecutable - cefclient_mac_app.sh + ${EXECUTABLE_NAME} CFBundleIconFile cefclient.icns CFBundleIdentifier