Properly name the lib
Set the proper path for the shared library so that anything linking against it will be able to find the library.
This commit is contained in:
parent
76034ae4d7
commit
1d80058c85
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ if os.getenv("CC") == "clang" or env['PLATFORM'] == 'darwin':
|
||||||
env.Replace(CC="clang",
|
env.Replace(CC="clang",
|
||||||
CXX="clang++")
|
CXX="clang++")
|
||||||
|
|
||||||
|
env.Append(SHLINKFLAGS = ['-install_name ' + '$TARGET'])
|
||||||
|
|
||||||
env["ENV"].update(x for x in os.environ.items() if x[0].startswith("CCC_"))
|
env["ENV"].update(x for x in os.environ.items() if x[0].startswith("CCC_"))
|
||||||
|
|
||||||
#rootpath = env['ROOTPATH'] = os.path.abspath('.')
|
#rootpath = env['ROOTPATH'] = os.path.abspath('.')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue