diff options
author | Amit Khatri <amit.khatri@samsung.com> | 2014-04-02 12:19:35 +0530 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-04-04 23:05:59 +0300 |
commit | 6a6afc02c0c861a9391b72650fefa7444dcbf681 (patch) | |
tree | 9e4b3fcbd1807a5d130ab3006429cf853f062ea4 /radius_example | |
parent | 75aea3e704327a1a4c1792c2fa11a653bd7c27b1 (diff) | |
download | hostap-6a6afc02c0c861a9391b72650fefa7444dcbf681.tar.gz |
Fix radius_example build
radius_example needs the -lrt option to build with some glibc versions.
Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
Diffstat (limited to 'radius_example')
-rw-r--r-- | radius_example/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/radius_example/Makefile b/radius_example/Makefile index 92e992c82..883e2f2da 100644 --- a/radius_example/Makefile +++ b/radius_example/Makefile @@ -21,6 +21,7 @@ CFLAGS += -I../src/utils LIBS = ../src/radius/libradius.a LIBS += ../src/crypto/libcrypto.a LIBS += ../src/utils/libutils.a +LLIBS = -lrt ../src/utils/libutils.a: $(MAKE) -C ../src/utils @@ -36,7 +37,7 @@ LIBS += ../src/utils/libutils.a OBJS_ex = radius_example.o radius_example: $(OBJS_ex) $(LIBS) - $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) + $(LDO) $(LDFLAGS) -o radius_example $(OBJS_ex) $(LIBS) $(LLIBS) clean: $(MAKE) -C ../src clean |