mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-09 21:47:34 +01:00
Merge bitcoin/bitcoin#29708: depends: build libnatpmp with CMake
3c1ae3ee33depends: switch libnatpmp to CMake (Cory Fields)72ba7b5d26depends: libnatpmp f2433bec24ca3d3f22a8a7840728a3ac177f94ba (fanquake) Pull request description: This picks up one of the changes from https://github.com/bitcoin/bitcoin/pull/29232, which is a switch to building libnatpmp with CMake. It includes an update to the most recent version of libnatpmp (f2433bec24), which includes (https://github.com/miniupnp/libnatpmp/pull/43). From an initial look I couldn't find any significant difference between the Autotools and CMake produced libs. ACKs for top commit: m3dwards: ACK3c1ae3ee33hebasto: ACK3c1ae3ee33. TheCharlatan: ACK3c1ae3ee33Tree-SHA512: 1dd9d9933a5fceb9f8c4e1d68cd5cb4456a10a6dd27a6f6316f14493f9d2efad981ef8be9570c09ca82d45163aebd7f4cb2b2449989ec6084268ddba9a564c83
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
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)))
|
||||
Reference in New Issue
Block a user