ports/math/openfst/patches/patch-configure

58 lines
1.4 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure
--- configure.orig
+++ configure
2023-09-08 05:21:37 +00:00
@@ -13001,7 +13001,7 @@ then :
printf %s "(cached) " >&6
else $as_nop
2023-08-16 22:26:55 +00:00
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
2023-09-08 05:21:37 +00:00
@@ -13031,7 +13031,7 @@ fi
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes
then :
- lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=
else $as_nop
lt_cv_dlopen=dyld
@@ -13107,7 +13107,7 @@ then :
printf %s "(cached) " >&6
else $as_nop
2023-08-16 22:26:55 +00:00
ac_check_lib_save_LIBS=$LIBS
2023-09-08 05:21:37 +00:00
-LIBS="-ldl $LIBS"
2023-08-16 22:26:55 +00:00
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
2023-09-08 05:21:37 +00:00
@@ -13137,7 +13137,7 @@ fi
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes
then :
- lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
printf %s "checking for dlopen in -lsvld... " >&6; }
@@ -18038,7 +18038,7 @@ then :
printf %s "(cached) " >&6
else $as_nop
2023-08-16 22:26:55 +00:00
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldl $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
2023-09-08 05:21:37 +00:00
@@ -18067,7 +18067,7 @@ fi
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = xyes
then :
2023-08-16 22:26:55 +00:00
- DL_LIBS=-ldl
+ DL_LIBS=
fi