mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Fix the build on NetBSD due to the differences in pthread implementation.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
This commit is contained in:
committed by
Ondřej Surý
parent
259a4947e6
commit
f6c4ed94e4
@@ -2697,7 +2697,7 @@ AS_IF([test "$with_dlopen" = "yes"],
|
||||
SO_LD="${CC}"
|
||||
])
|
||||
],
|
||||
[*-freebsd*|*-openbsd*],[
|
||||
[*-freebsd*|*-openbsd*|*-netbsd*],[
|
||||
LDFLAGS="${LDFLAGS} -Wl,-E"
|
||||
SO_CFLAGS="-fpic"
|
||||
AS_IF([test "$use_libtool" = "yes"],[
|
||||
@@ -2708,12 +2708,6 @@ AS_IF([test "$with_dlopen" = "yes"],
|
||||
SO_LD="${CC}"
|
||||
])
|
||||
],
|
||||
[*-netbsd*],[
|
||||
SO_CFLAGS="-fpic"
|
||||
SO_LDFLAGS="-Bshareable -x"
|
||||
SO_LD="ld"
|
||||
SO_STRIP="sed -e s/-Wl,//g"
|
||||
],
|
||||
[*-solaris*],[
|
||||
SO_CFLAGS="-KPIC"
|
||||
SO_LDFLAGS="-G -z text"
|
||||
|
Reference in New Issue
Block a user