blob: 954bb60880c70e314004cafdf98aa745e0cff32a [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From b99891e31eb6ce550e7e1cb2ca592095b3050a93 Mon Sep 17 00:00:00 2001
2From: Brion Vibber <brion@pobox.com>
3Date: Sun, 25 Feb 2018 18:42:36 -0800
4Subject: Auto-detect -Bsymbolic, fixes configure on macOS
5
6The -Bsymbolic linker option is ELF-specific, and was breaking
7configure on macOS unless --disable-Bsymbolic was explicitly passed.
8
9Switching the behavior from requiring -Bsymbolic to be available
10by default to just warning and continuing on without.
11
12Fixes https://gitlab.gnome.org/GNOME/librsvg/issues/211
13
14Upstream-Status: Backport
15Signed-off-by: Adrian Bunk <bunk@stusta.de>
16---
17 configure.ac | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/configure.ac b/configure.ac
21index 15b26b2d..9f8dce29 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -216,7 +216,7 @@ AM_CONDITIONAL([ENABLE_PIXBUF_LOADER],[test "$enable_pixbuf_loader" = "yes"])
25 AC_ARG_ENABLE([Bsymbolic],
26 [AS_HELP_STRING([--disable-Bsymbolic],
27 [disable linking with -Bsymbolic])],
28- [],[enable_Bsymbolic=yes])
29+ [enable_Bsymbolic=no],[enable_Bsymbolic=auto])
30
31 BSYMBOLIC_LDFLAG=
32 if test "$enable_Bsymbolic" != "no"; then
33--
342.20.1
35