aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2006-12-26 21:39:34 (GMT)
committerJouni Malinen <j@w1.fi>2006-12-26 21:39:34 (GMT)
commit079ee7789a2c587247954e617b30b04fdc5aa051 (patch)
tree6fc394b89e16ad97bb4083795d313918dd56dcf8
parent00a0a5aa87908ad932879999fda7245bbf06894a (diff)
downloadhostap-history-079ee7789a2c587247954e617b30b04fdc5aa051.zip
hostap-history-079ee7789a2c587247954e617b30b04fdc5aa051.tar.gz
hostap-history-079ee7789a2c587247954e617b30b04fdc5aa051.tar.bz2
Link in os_*.o when building hostapd_cli to match with the wpa_cli
build. This is needed to get os_*() wrapper functions.
-rw-r--r--hostapd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 449ccc6..f9da212 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -397,8 +397,9 @@ ifdef CONFIG_DRIVER_TEST
endif
echo '}' >> driver_conf.c
-hostapd_cli: hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o
- $(CC) -o hostapd_cli hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o
+OBJS_c = hostapd_cli.o $(DIR_WPA_SUPPLICANT)/wpa_ctrl.o os_$(CONFIG_OS).o
+hostapd_cli: $(OBJS_c)
+ $(CC) -o hostapd_cli $(OBJS_c)
NOBJS = nt_password_hash.o $(DIR_WPA_SUPPLICANT)/ms_funcs.o sha1.o rc4.o md5.o
NOBJS += $(DIR_WPA_SUPPLICANT)/crypto.o os_$(CONFIG_OS).o