blob: c162c1dfbbe67c50cd60c63e9eb1a84ec401e33e [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 57239fda56b68a8f3e413f7b6af5290ba0d86636 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of
Brad Bishop316dfdd2018-06-25 12:45:53 -04005 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 configure.ac | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/configure.ac b/configure.ac
22index 487a266..96ae4f7 100644
23--- a/configure.ac
24+++ b/configure.ac
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025@@ -235,6 +235,7 @@ dnl
Brad Bishop316dfdd2018-06-25 12:45:53 -040026 dnl Checks for libdl - on certain platforms its part of libc
27 dnl
28 AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=])
29+AS_IF([test "$ac_cv_search_dlopen" = "none required"],[ac_cv_search_dlopen=""])
30 AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen")
31
32 PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],
33--
342.14.3
35