mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] ead: fix missing library error while building tinysrp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16309 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user