From: Marek VavruĊĦa Date: Tue, 4 Aug 2015 12:31:54 +0000 (+0200) Subject: build: do not require Python libraries now X-Git-Tag: v1.0.0-beta1~58^2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bf7293a2c625d8d359d3e770635e5428eee2381;p=thirdparty%2Fknot-resolver.git build: do not require Python libraries now --- diff --git a/Makefile b/Makefile index 5c0ca5463..35f78d361 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ $(eval $(call find_lib,cmocka)) $(eval $(call find_bin,doxygen)) $(eval $(call find_bin,sphinx-build)) $(eval $(call find_bin,gccgo)) -$(eval $(call find_python)) +$(eval $(call find_bin,python)) $(eval $(call find_lib,libmemcached,1.0)) $(eval $(call find_lib,hiredis)) $(eval $(call find_lib,socket_wrapper)) diff --git a/platform.mk b/platform.mk index 74fb929f4..369760bc3 100644 --- a/platform.mk +++ b/platform.mk @@ -117,11 +117,3 @@ define find_bin $(1) := $$($(1)_BIN) endif endef - -# Find Python -define find_python - python_CFLAGS := $(shell $(PYTHON) -c "from distutils import sysconfig as c;print('-I%s' % c.get_python_inc())") - python_LIBS := $(shell $(PYTHON) -c "from distutils import sysconfig as c;print('-L%s -lpython%s' % (c.get_config_var('LIBDIR'), c.get_config_var('VERSION')))") - $(call have_lib,python) -endef - diff --git a/tests/unit.mk b/tests/unit.mk index c9cbb311b..3b69799d6 100644 --- a/tests/unit.mk +++ b/tests/unit.mk @@ -26,7 +26,6 @@ tests_LIBS := $(libkres_TARGET) $(libkres_LIBS) $(cmocka_LIBS) # Make test binaries define make_test -$(1)_CFLAGS := -Wno-deprecated-declarations $(1)_SOURCES := tests/$(1).c $(1)_LIBS := $(tests_LIBS) $(1)_DEPEND := $(tests_DEPEND)