diff options
Diffstat (limited to 'WebKitTools/Scripts/run-launcher')
-rwxr-xr-x | WebKitTools/Scripts/run-launcher | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebKitTools/Scripts/run-launcher b/WebKitTools/Scripts/run-launcher index 24a4c32..ee462ba 100755 --- a/WebKitTools/Scripts/run-launcher +++ b/WebKitTools/Scripts/run-launcher @@ -61,6 +61,15 @@ if (isQt()) { if (isGtk()) { $launcherPath = catdir($launcherPath, "Programs", "GtkLauncher"); } + + if (isWx()) { + if (isDarwin()) { + $launcherPath = catdir($launcherPath, 'wxBrowser.app', 'Contents', 'MacOS', 'wxBrowser'); + } else { + $ENV{LD_LIBRARY_PATH} = $ENV{LD_LIBRARY_PATH} ? "$productDir:$ENV{LD_LIBRARY_PATH}" : $productDir; + $launcherPath = catdir($launcherPath, 'wxBrowser'); + } + } print "Starting webkit launcher.\n"; } |