libbsd: update darwin.patch

fix multiple version map flags
This commit is contained in:
Matthew Bauer 2019-10-14 17:47:28 -04:00
parent 7d364b9400
commit 0a13901f16

View File

@ -205,10 +205,10 @@ index 0000000..9851f32
+
+]) dnl AX_CHECK_VSCRIPT
diff --git a/src/Makefile.am b/src/Makefile.am
index 8384b92..2ca6f1b 100644
index 8384b92..e2c8e15 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -65,8 +65,14 @@ libbsd_la_LIBADD = \
@@ -65,8 +65,11 @@ libbsd_la_LIBADD = \
$(ARC4RANDOM_ATFORK_LIBS) \
$(nil)
libbsd_la_LDFLAGS = \
@ -217,9 +217,6 @@ index 8384b92..2ca6f1b 100644
+if HAVE_VSCRIPT
+libbsd_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbsd.map
+endif
+if HAVE_VSCRIPT_COMPLEX
+libbsd_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbsd.map
+endif
+
libbsd_la_SOURCES = \
arc4random.c \