diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 183d80cc6..e8b0e3aa3 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -226,7 +226,7 @@ else CONFIGURE_ARGS+= --without-iconv endif -ifneq ($(CONFIG_PACKAGE_php5-mod-json),) +ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-json),) CONFIGURE_ARGS+= --enable-json=shared else CONFIGURE_ARGS+= --disable-json