try pass rpath ./ to linker
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -86,6 +86,7 @@ jobs:
|
||||
|
||||
- name: Download fix-rpaths.py script
|
||||
run: git clone https://gist.github.com/NQNStudios/7145bcf6621891f5176c8caa165d6b93
|
||||
if: ${{ matrix.os.name == 'macos' }}
|
||||
- name: Fix rpaths game
|
||||
run: 'python 7145bcf6621891f5176c8caa165d6b93/fix-rpaths.py "build/Blades of Exile/Blades of Exile.app"'
|
||||
if: ${{ matrix.os.name == 'macos' }}
|
||||
|
@@ -235,7 +235,9 @@ elif platform == "win32":
|
||||
def build_app_package(env, source, build_dir, info):
|
||||
env.Install(build_dir, source)
|
||||
elif platform == "posix":
|
||||
env.Append(CXXFLAGS=["-std=c++14","-include","global.hpp"])
|
||||
env.Append(
|
||||
CXXFLAGS=["-std=c++14","-include","global.hpp"],
|
||||
LINKFLAGS=["-rpath", "./"])
|
||||
def build_app_package(env, source, build_dir, info):
|
||||
env.Install(build_dir, source)
|
||||
|
||||
|
Reference in New Issue
Block a user