mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changes since 0.52.24: - Bug fixes and maintenance updates Need to revert a patch in the build, since it doesn't work for cross-compilation. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
17 lines
585 B
Diff
17 lines
585 B
Diff
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -85,12 +85,7 @@ showkey: showkey.o $(LIBNEWT)
|
|
_snack.$(SOEXT): snack.c $(LIBNEWTSH)
|
|
ifneq ($(PYTHONVERS),)
|
|
@for ver in $(PYTHONVERS); do \
|
|
- pyconfig=$$ver-config; \
|
|
- if ! $$pyconfig --cflags > /dev/null 2>&1 && \
|
|
- python-config --cflags > /dev/null 2>&1; then \
|
|
- echo $$pyconfig not found, using python-config; \
|
|
- pyconfig=python-config; \
|
|
- fi; \
|
|
+ pyconfig=$(PYTHON_CONFIG_PATH)/$$ver-config; \
|
|
mkdir -p $$ver; \
|
|
PCFLAGS=`$$pyconfig --cflags`; \
|
|
PLDFLAGS=`$$pyconfig --ldflags --embed || $$pyconfig --ldflags`; \
|