Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 57239fda56b68a8f3e413f7b6af5290ba0d86636 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Thu, 22 Mar 2018 18:18:06 +0100 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 5 | LD_LIBS="none required" |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: text/plain; charset=UTF-8 |
| 8 | Content-Transfer-Encoding: 8bit |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | Stolen from [1] and prettyfied slightly |
| 13 | |
| 14 | [1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches |
| 15 | |
| 16 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 17 | --- |
| 18 | configure.ac | 1 + |
| 19 | 1 file changed, 1 insertion(+) |
| 20 | |
| 21 | diff --git a/configure.ac b/configure.ac |
| 22 | index 487a266..96ae4f7 100644 |
| 23 | --- a/configure.ac |
| 24 | +++ b/configure.ac |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 25 | @@ -235,6 +235,7 @@ dnl |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 | -- |
| 34 | 2.14.3 |
| 35 | |