use LD_LIBRARY_PATH rather than -rpath
This commit is contained in:
parent
192b3f150c
commit
859ae8f91e
@ -122,8 +122,7 @@ function(give_options target)
|
||||
-ffp-contract=fast
|
||||
-fno-signed-zeros
|
||||
-fno-trapping-math
|
||||
-freciprocal-math
|
||||
-Wl,$<$<BOOL:${TOWNENGINE_HOT_RELOAD}>:-rpath ./>)
|
||||
-freciprocal-math)
|
||||
|
||||
set(BUILD_FLAGS_RELEASE
|
||||
-O3
|
||||
@ -244,7 +243,7 @@ function(use_townengine target sources output_directory data_dir)
|
||||
string(JOIN "\n" TOWNENGINE_BOOTSTRAP
|
||||
"#!/bin/env sh"
|
||||
"cd \"$(dirname \"$0\")\""
|
||||
"./launcher --data-dir ${data_dir}"
|
||||
"LD_LIBRARY_PATH=./ ./launcher --data-dir ${data_dir}"
|
||||
"")
|
||||
|
||||
FILE(GENERATE OUTPUT ${output_directory}/${target}
|
||||
|
Loading…
Reference in New Issue
Block a user