Skip to content

Commit

Permalink
refs qorelanguage/qore#4447 minor cross-compilation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnich committed Feb 19, 2022
1 parent 1411638 commit f107902
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,14 @@ if test "$HAVE_CXX11" = "1"; then
fi

# checks for how to build threads
ACX_PTHREAD
if test "$acx_pthread_ok" = "no"; then
AC_MSG_ERROR(POSIX threads do not seem to be supported on this platform, aborting)
if test "$mingw" != yes; then
ACX_PTHREAD
if test "$acx_pthread_ok" = "no"; then
AC_MSG_ERROR(POSIX threads do not seem to be supported on this platform, aborting)
fi
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
#LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
fi
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
#LDFLAGS="$LDFLAGS $PTHREAD_LIBS"

AC_ARG_WITH([lib-prefix],
[AS_HELP_STRING([--with-lib-prefix@<:@=DIR@:>@],
Expand Down

0 comments on commit f107902

Please sign in to comment.