aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example
diff options
context:
space:
mode:
authorAmit Khatri <amit.khatri@samsung.com>2014-04-02 06:49:35 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-04 20:05:59 (GMT)
commit6a6afc02c0c861a9391b72650fefa7444dcbf681 (patch)
tree9e4b3fcbd1807a5d130ab3006429cf853f062ea4 /radius_example
parent75aea3e704327a1a4c1792c2fa11a653bd7c27b1 (diff)
downloadhostap-6a6afc02c0c861a9391b72650fefa7444dcbf681.zip
hostap-6a6afc02c0c861a9391b72650fefa7444dcbf681.tar.gz
hostap-6a6afc02c0c861a9391b72650fefa7444dcbf681.tar.bz2
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/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/radius_example/Makefile b/radius_example/Makefile
index 92e992c..883e2f2 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