aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/libnatpmp/no_libtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'depends/patches/libnatpmp/no_libtool.patch')
-rw-r--r--depends/patches/libnatpmp/no_libtool.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/depends/patches/libnatpmp/no_libtool.patch b/depends/patches/libnatpmp/no_libtool.patch
new file mode 100644
index 0000000000..2b9f01f6eb
--- /dev/null
+++ b/depends/patches/libnatpmp/no_libtool.patch
@@ -0,0 +1,15 @@
+diff -ruN libnatpmp-07004b97cf691774efebe70404cf22201e4d330d/Makefile libnatpmp-07004b97cf691774efebe70404cf22201e4d330d.new/Makefile
+--- libnatpmp-07004b97cf691774efebe70404cf22201e4d330d/Makefile 2022-07-05 07:49:50.000000000 +0000
++++ libnatpmp-07004b97cf691774efebe70404cf22201e4d330d.new/Makefile 2024-01-23 20:59:35.674821779 +0000
+@@ -197,11 +197,7 @@
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+ $(STATICLIB): $(LIBOBJS)
+-ifneq (, $(findstring darwin, $(OS)))
+- $(LIBTOOL) -static -o $@ $?
+-else
+ $(AR) crs $@ $?
+-endif
+
+ $(SHAREDLIB): $(LIBOBJS)
+ ifneq (, $(findstring darwin, $(OS)))