mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-03-13 13:12:49 +00:00
fix rpath on non-linux
This commit is contained in:
parent
12f4148608
commit
4147bb5817
2
wscript
2
wscript
@ -476,7 +476,7 @@ def configure(conf):
|
|||||||
|
|
||||||
if conf.env.DEST_OS != 'win32':
|
if conf.env.DEST_OS != 'win32':
|
||||||
flags += ['-pipe', '-fPIC']
|
flags += ['-pipe', '-fPIC']
|
||||||
linkflags += ['-Wl,-rpath=%s' % conf.env.LIBDIR]
|
conf.env.RPATH = [conf.env.LIBDIR]
|
||||||
if conf.env.COMPILER_CC != 'msvc':
|
if conf.env.COMPILER_CC != 'msvc':
|
||||||
flags += ['-pthread']
|
flags += ['-pthread']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user