diff options
author | David Robillard <d@drobilla.net> | 2014-03-17 16:24:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-03-17 16:24:09 +0000 |
commit | 18896bf70441ded311f3fe43dc9c23f31ef35bd5 (patch) | |
tree | 5a9bd20be3c99af043094ea7a386fab112c3bab0 | |
parent | 6019a68609a3798e83cb28924376a320a18386bc (diff) | |
download | sord-18896bf70441ded311f3fe43dc9c23f31ef35bd5.tar.gz sord-18896bf70441ded311f3fe43dc9c23f31ef35bd5.tar.bz2 sord-18896bf70441ded311f3fe43dc9c23f31ef35bd5.zip |
Explicitly pass -pthread flag when PCRE is present to work around broken PCRE installs.
git-svn-id: http://svn.drobilla.net/sord/trunk@294 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -204,7 +204,10 @@ def build(bld): if bld.env.STATIC_PROGS: obj.env.SHLIB_MARKER = obj.env.STLIB_MARKER obj.linkflags = ['-static', '-Wl,--start-group'] - autowaf.use_lib(bld, obj, 'SERD PCRE') + autowaf.use_lib(bld, obj, 'SERD') + if i == 'sord_validate': + autowaf.use_lib(bld, obj, 'PCRE') + obj.cflags = '-pthread' # Documentation autowaf.build_dox(bld, 'SORD', SORD_VERSION, top, out) |