[neon/backports-noble/poppler-noble/Neon/unstable] debian: don't build with libcurl if we are cross compiling

Carlos De Maine null at kde.org
Thu Jun 11 23:51:46 BST 2026


Git commit 822e35176ce47433fdd4d63441032fc95ae5127e by Carlos De Maine.
Committed on 11/06/2026 at 22:51.
Pushed by carlosdem into branch 'Neon/unstable'.

don't build with libcurl if we are cross compiling

M  +3    -0    debian/rules

https://invent.kde.org/neon/backports-noble/poppler-noble/-/commit/822e35176ce47433fdd4d63441032fc95ae5127e

diff --git a/debian/rules b/debian/rules
index 14cd7b6..0ac7311 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,9 @@ ifeq ($(filter %-qt6-dev,$(built_binaries)),)
 CONFIGURE_ARGS += -DENABLE_QT6=OFF
 endif
 
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+CONFIGURE_ARGS += -DENABLE_LIBCURL=OFF
+endif
 %:
 	dh $@
 


More information about the Neon-commits mailing list