include -pthread in LDFLAGS and not LIBS as the latter doesn't appear in wx-config output unless --static is given

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-09-15 17:20:14 +00:00
parent 92ac4cdc8c
commit db82f09ecb
2 changed files with 476 additions and 482 deletions

951
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1138,10 +1138,10 @@ case "${host}" in
LIBS="$LIBS -lstdcpp"
if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
dnl More complete Unix emulation for unix-like ports
dnl by linking in POSIX/2's cExt (if available).
dnl by linking in POSIX/2's cExt (if available).
AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt")
else
dnl Include resources for the "native" port (wxPM).
dnl Include resources for the "native" port (wxPM).
RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
fi
;;
@ -3358,7 +3358,8 @@ if test "$TOOLKIT" != "MSW"; then
else
dnl yes, these special compiler flags should be used with the
dnl linker as well
LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
LIBS="$THREADS_LINK $LIBS"
AC_MSG_CHECKING([if more special flags are required for pthreads])
flag=no