[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:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user