Skip to content

Commit 1b46fe4

Browse files
committed
Try passing meson arguments
1 parent 970ca0b commit 1b46fe4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

mk/spksrc.wheel-compile.mk

+6-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,12 @@ cross-compile-wheel-%:
118118
exit 2 ; \
119119
fi ; \
120120
if [ "$(PIP_GLOBAL_OPTION)" ]; then \
121-
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/=\([^ ]*\)/="\1"/g; s/[^ ]*/--global-option=&/g') ; \
122-
pip_global_option=$${pip_global_option}" --no-use-pep517" ; \
121+
if echo "$(PIP_GLOBAL_OPTION)" | grep -q -- "--config-settings"; then \
122+
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/--config-settings=\([^ ]*\)/\1/g; s/=\([^ ]*\)/="\1"/g; s/[^ ]*/--config-settings=&/g') ; \
123+
else \
124+
pip_global_option=$$(echo $(PIP_GLOBAL_OPTION) | sed 's/=\([^ ]*\)/="\1"/g; s/[^ ]*/--global-option=&/g') ; \
125+
pip_global_option=$${pip_global_option}" --no-use-pep517" ; \
126+
fi ; \
123127
fi ; \
124128
$(MSG) \
125129
_PYTHON_HOST_PLATFORM=\"$(TC_TARGET)\" \

spk/duplicity/Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ SPK_USR_LOCAL_LINKS += bin:bin/duply
3434

3535
include ../../mk/spksrc.python.mk
3636

37+
# [duplicity]
38+
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS) $(ARMv8_ARCHS) qoriq),$(ARCH))
39+
WHEELS_BUILD_ARGS = [duplicity]
40+
WHEELS_BUILD_ARGS += --config-settings=setup-args="-Dimplicit_include_directories=false"
41+
endif
42+
3743
# [cryptography]
3844
DEPENDS += cross/cryptography
3945

0 commit comments

Comments
 (0)