mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
depends: use ar rather than libtool for miniupnpc/libnatpmp
This commit is contained in:
15
depends/patches/libnatpmp/no_libtool.patch
Normal file
15
depends/patches/libnatpmp/no_libtool.patch
Normal file
@@ -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)))
|
||||
15
depends/patches/miniupnpc/no_libtool.patch
Normal file
15
depends/patches/miniupnpc/no_libtool.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -ruN miniupnpc-2.2.2/Makefile miniupnpc-2.2.2.new/Makefile
|
||||
--- miniupnpc-2.2.2/Makefile 2020-11-27 18:25:02.000000000 +0000
|
||||
+++ miniupnpc-2.2.2.new/Makefile 2024-01-23 20:58:08.387188527 +0000
|
||||
@@ -298,11 +298,7 @@
|
||||
makedepend -Y -- $(CFLAGS) -- $(SRCS) 2>/dev/null
|
||||
|
||||
$(LIBRARY): $(LIBOBJS)
|
||||
-ifneq (, $(findstring darwin, $(OS)))
|
||||
- $(LIBTOOL) -static -o $@ $?
|
||||
-else
|
||||
$(AR) crs $@ $?
|
||||
-endif
|
||||
|
||||
$(SHAREDLIBRARY): $(LIBOBJS)
|
||||
ifneq (, $(findstring darwin, $(OS)))
|
||||
Reference in New Issue
Block a user