checking for their existance first
old behaviour was to fail on the next library check with misleading
messages, now configure will work but make will fail with a
'lib not found' message
c|c_r|pthread*) ;;
*)
ifelse($3,,[
- PHP_X_ADD_LIBRARY($1,$2,LIBS)
+ PHP_X_ADD_LIBRARY($1,$2,PHP_EXTENSION_LIBS)
],[
if test "$ext_shared" = "yes"; then
PHP_X_ADD_LIBRARY($1,$2,$3)
INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM"
fi
-EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS"
+EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS $PHP_EXTENSION_LIBS"
unset LIBS LDFLAGS
PHP_CONFIGURE_PART(Configuring TSRM)