termux-packages/packages/portaudio/configure.patch

23 lines
563 B
Diff

--- a/configure
+++ b/configure
@@ -15774,7 +15774,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
- rt_libs=" -lrt"
+ rt_libs=""
fi
LIBS="${LIBS}${rt_libs}"
@@ -16210,8 +16210,8 @@
fi
- DLL_LIBS="$DLL_LIBS -lm -lpthread"
- LIBS="$LIBS -lm -lpthread"
+ DLL_LIBS="$DLL_LIBS -lm"
+ LIBS="$LIBS -lm"
PADLL="libportaudio.so"
## support sun cc compiler flags