mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-16 23:19:50 +01:00
Add -pthread to link jni programs on FreeBSD
This commit is contained in:
parent
59be2b56c0
commit
ed7e2f5016
@ -440,6 +440,8 @@ def check_jni_headers(conf):
|
||||
if f:
|
||||
libDirs = [[x, y.parent.abspath()] for x in libDirs for y in f]
|
||||
|
||||
if conf.env.DEST_OS == 'freebsd':
|
||||
conf.env.append_unique('LINKFLAGS_JAVA', '-pthread')
|
||||
for d in libDirs:
|
||||
try:
|
||||
conf.check(header_name='jni.h', define_name='HAVE_JNI_H', lib='jvm',
|
||||
|
Loading…
Reference in New Issue
Block a user