mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 16:50:00 -04:00
[v9_9] work around libtool issue
- revert d3617e0d87
- use -Xcompiler option to libtool so it won't suppress -shared
- regenerate configure
This commit is contained in:
parent
d3617e0d87
commit
7589a7b2e0
3 changed files with 11 additions and 6 deletions
|
|
@ -48,11 +48,8 @@ dlopen@EXEEXT@: ${DLOPENOBJS}
|
|||
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
||||
-o $@ ${DLOPENOBJS} ${LIBS}
|
||||
|
||||
driver.@O@: driver.c
|
||||
${PURIFY} ${CC} ${ALL_CFLAGS} -o driver.@O@ -c driver.c
|
||||
|
||||
driver.@SO@: ${SO_OBJS}
|
||||
@SO_LD@ -o $@ driver.@O@
|
||||
${LIBTOOL_MODE_LINK} @SO_LD@ -o $@ driver.@O@
|
||||
|
||||
clean distclean::
|
||||
rm -f ${TARGETS}
|
||||
|
|
|
|||
6
configure
vendored
6
configure
vendored
|
|
@ -19621,7 +19621,11 @@ if test "$dlopen" = "yes"; then
|
|||
SO_CFLAGS="-fPIC"
|
||||
if test "$have_dl" = "yes"
|
||||
then
|
||||
SO_LD="${CC} -shared"
|
||||
if test "$use_libtool" = "yes"; then
|
||||
SO_LD="${CC} -Xcompiler -shared"
|
||||
else
|
||||
SO_LD="${CC} -shared"
|
||||
fi
|
||||
else
|
||||
SO_LD="ld -shared"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -3397,7 +3397,11 @@ if test "$dlopen" = "yes"; then
|
|||
SO_CFLAGS="-fPIC"
|
||||
if test "$have_dl" = "yes"
|
||||
then
|
||||
SO_LD="${CC} -shared"
|
||||
if test "$use_libtool" = "yes"; then
|
||||
SO_LD="${CC} -Xcompiler -shared"
|
||||
else
|
||||
SO_LD="${CC} -shared"
|
||||
fi
|
||||
else
|
||||
SO_LD="ld -shared"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue