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:
Joe Rozner 2013-11-21 12:37:36 -08:00
parent 76034ae4d7
commit 1d80058c85

View file

@ -78,6 +78,8 @@ 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('.')