blob: 548cccb329c3812ad0abd6ca2665d6b6bbded2e0 [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
4Subject: [PATCH 2/4] 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 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
25@@ -305,6 +305,7 @@ dnl
26 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