Fix object file list for hlr_auc_gw
authorMukesh Agrawal <quiche@chromium.org>
Sat, 15 Oct 2011 13:52:51 +0000 (16:52 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 15 Oct 2011 13:52:51 +0000 (16:52 +0300)
If CONFIG_NO_RANDOM_POOL is unset, src/crypto/random.o is linked
into hlr_auc_gw. However, in this configuration, random.o requires
symbols defined in src/utils/eloop.o. So add eloop.o to the object
file list for hlr_auc_gw.

hostapd/Makefile

index 8e8c8c0..9664c02 100644 (file)
@@ -699,6 +699,7 @@ CFLAGS += -DCONFIG_NO_RANDOM_POOL
 else
 OBJS += ../src/crypto/random.o
 HOBJS += ../src/crypto/random.o
+HOBJS += ../src/utils/eloop.o
 HOBJS += $(SHA1OBJS)
 HOBJS += ../src/crypto/md5.o
 endif