Browse Source

fix rpath on non-linux

pull/246/head
Er2 2 years ago
parent
commit
4147bb5817
  1. 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…
Cancel
Save