blob: e99c22710c5947afc196292df6168dd365d9e8e4 [file] [log] [blame]
Brad Bishop34ae6002019-04-08 15:21:03 -04001From 57239fda56b68a8f3e413f7b6af5290ba0d86636 Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: =?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>
Brad Bishop19323692019-04-05 15:28:33 -040017---
18 configure.ac | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/configure.ac b/configure.ac
Brad Bishop34ae6002019-04-08 15:21:03 -040022index 487a266..96ae4f7 100644
Brad Bishop19323692019-04-05 15:28:33 -040023--- a/configure.ac
24+++ b/configure.ac
Brad Bishop34ae6002019-04-08 15:21:03 -040025@@ -235,6 +235,7 @@ dnl
Brad Bishop19323692019-04-05 15:28:33 -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],
Brad Bishop34ae6002019-04-08 15:21:03 -040033--
342.14.3