Fixed bug 1392 - Debian patch: do not propagate -lpthread
diff --git a/configure b/configure
index 314c439..4a8b4a6 100755
--- a/configure
+++ b/configure
@@ -21901,7 +21901,6 @@ $as_echo "#define SDL_THREAD_PTHREAD 1" >>confdefs.h
EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
- SDL_LIBS="$SDL_LIBS $pthread_lib"
# Save the original compiler flags and libraries
ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"
diff --git a/configure.in b/configure.in
index fd4200c..3615eee 100644
--- a/configure.in
+++ b/configure.in
@@ -2413,7 +2413,6 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]])
EXTRA_CFLAGS="$EXTRA_CFLAGS $pthread_cflags"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $pthread_lib"
SDL_CFLAGS="$SDL_CFLAGS $pthread_cflags"
- SDL_LIBS="$SDL_LIBS $pthread_lib"
# Save the original compiler flags and libraries
ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"