hostapd: fix PKG_CONFIG_DEPENDS for CONFIG_WPA_SUPPLICANT_*
[openwrt/openwrt.git] / package / network / services / hostapd / Makefile
index b3cd80d1329455e05d8837793ccfe0a1bd600ed8..9570b2a8f55adb8d21181307bf8405dffd9592f2 100644 (file)
@@ -44,7 +44,7 @@ ifeq ($(LOCAL_VARIANT),mesh)
   CONFIG_VARIANT:=full
 endif
 
-ifeq ($(LOCAL_TYPE),supplicant)
+ifneq ($(LOCAL_TYPE),hostapd)
   ifeq ($(LOCAL_VARIANT),full)
     PKG_CONFIG_DEPENDS += \
                CONFIG_WPA_SUPPLICANT_INTERNAL \