Changeset 36085


Ignore:
Timestamp:
2013-03-18T17:11:32+01:00 (5 years ago)
Author:
nbd
Message:

hostapd: fix build errors on supplicant-only builds

Location:
trunk/package/network/services/hostapd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/hostapd/Makefile

    r36081 r36085  
    226226TARGET_CFLAGS += -ffunction-sections -fdata-sections 
    227227TARGET_LDFLAGS += -Wl,--gc-sections 
    228 TARGET_LDFLAGS += -lubox -lubus 
     228ifeq ($(findstring supplicant,$(BUILD_VARIANT)),) 
     229  TARGET_LDFLAGS += -lubox -lubus 
     230endif 
    229231 
    230232ifdef CONFIG_PACKAGE_kmod-mac80211 
  • trunk/package/network/services/hostapd/patches/700-ubus_support.patch

    r36081 r36085  
    423423+}; 
    424424+ 
     425+struct hostapd_iface; 
     426+struct hostapd_data; 
     427+ 
    425428+#ifdef UBUS_SUPPORT 
    426429+ 
    427430+#include <libubox/avl.h> 
    428431+#include <libubus.h> 
    429 + 
    430 +struct hostapd_iface; 
    431 +struct hostapd_data; 
    432432+ 
    433433+struct hostapd_ubus_iface { 
Note: See TracChangeset for help on using the changeset viewer.