summaryrefslogtreecommitdiff
path: root/package/ead/src
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 13:53:15 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 13:53:15 +0000
commit66f8e1122e44902fd9a9badf90b981072d198663 (patch)
treed54da017a5fdb31f72832bb46edb52f475091de8 /package/ead/src
parent121368fbc83a3d18679f39e68f4449b35493bf2e (diff)
downloadmtk-20170518-66f8e1122e44902fd9a9badf90b981072d198663.zip
mtk-20170518-66f8e1122e44902fd9a9badf90b981072d198663.tar.gz
mtk-20170518-66f8e1122e44902fd9a9badf90b981072d198663.tar.bz2
ead: fix missing library error while building tinysrp
SVN-Revision: 16309
Diffstat (limited to 'package/ead/src')
-rw-r--r--package/ead/src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ead/src/Makefile b/package/ead/src/Makefile
index 0b68f60..faef3b7 100644
--- a/package/ead/src/Makefile
+++ b/package/ead/src/Makefile
@@ -2,8 +2,8 @@ CC = gcc
CPPFLAGS = -I. -Itinysrp
CFLAGS = -Os -Wall
LDFLAGS =
-LIBS = tinysrp/libtinysrp.a
-LIBS_EAD = $(LIBS) -lpcap
+LIBS_EADCLIENT = tinysrp/libtinysrp.a
+LIBS_EAD = tinysrp/libtinysrp.a -lpcap
CONFIGURE_ARGS =
all: ead ead-client
@@ -26,7 +26,7 @@ ead: ead.o $(obj) tinysrp/libtinysrp.a
$(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS_EAD)
ead-client: ead-client.o $(obj)
- $(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS)
+ $(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS_EADCLIENT)
clean:
rm -f *.o ead ead-client