blob: 419e1be246e4003c5fb7fb51852b87ae12e62dec [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 7743ea63fbe572b1f82db7d399fe9c5c99521432 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 22 Mar 2018 18:18:06 +0100
4Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of
5 LD_LIBS="none required"
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Pending
11
12Stolen from [1] and prettyfied slightly
13
14[1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches
15
16Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
17
18---
19 configure.ac | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/configure.ac b/configure.ac
23index b914219..1b2b0ff 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -241,6 +241,7 @@ dnl
27 dnl Checks for libdl - on certain platforms its part of libc
28 dnl
29 AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=])
30+AS_IF([test "$ac_cv_search_dlopen" = "none required"],[ac_cv_search_dlopen=""])
31 AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen")
32
33 PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],