Fix for linux
This actually is only for OS X. On linux ldconfig must be run after installing in order to update the library cache. Need to look into how to get scons to do this for the user.
This commit is contained in:
parent
1d80058c85
commit
d0906e69e6
1 changed files with 1 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ env.MergeFlags("-std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attr
|
|||
|
||||
if not env['PLATFORM'] == 'darwin':
|
||||
env.MergeFlags("-lrt")
|
||||
env.Append(SHLINKFLAGS = ['-install_name ' + '$TARGET'])
|
||||
|
||||
AddOption("--variant",
|
||||
dest="variant",
|
||||
|
|
@ -78,8 +79,6 @@ if os.getenv("CC") == "clang" or env['PLATFORM'] == 'darwin':
|
|||
env.Replace(CC="clang",
|
||||
CXX="clang++")
|
||||
|
||||
env.Append(SHLINKFLAGS = ['-install_name ' + '$TARGET'])
|
||||
|
||||
env["ENV"].update(x for x in os.environ.items() if x[0].startswith("CCC_"))
|
||||
|
||||
#rootpath = env['ROOTPATH'] = os.path.abspath('.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue