aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager/musl-dlopen-configure-ac.patch
blob: 5df320b4c4a64fef5c3e65adb3e1eaf5a935bd00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
musl: dlopen is included so LD_LIBS="" instead of LD_LIBS="none required"
--- a/configure.ac
+++ b/configure.ac
@@ -275,6 +275,7 @@
 dnl Checks for libdl - on certain platforms its part of libc
 dnl
 AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=])
+AS_IF([test "$ac_cv_search_dlopen" = "none required"],[ac_cv_search_dlopen=""])
 AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen")
 
 PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],