Skip to content

Commit 1914e47

Browse files
committed
build: copy config.{guess,sub} post autogen in zmq package
Otherwise our config.guess and config.sub will be copied over. This problem has been masked by the fact that modern systems ship with versions that recognise all the triplets we use (namely arm64-apple-darwin). However building on ubuntu 20.04 surfaces the issue. Fixes #26420.
1 parent 4f270d2 commit 1914e47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

depends/packages/zeromq.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ endef
2020

2121
define $(package)_preprocess_cmds
2222
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
23-
patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch && \
24-
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config
23+
patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch
2524
endef
2625

2726
define $(package)_config_cmds
2827
./autogen.sh && \
28+
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config && \
2929
$($(package)_autoconf)
3030
endef
3131

0 commit comments

Comments
 (0)