ead: fix missing library error while building tinysrp
SVN-Revision: 16309
This commit is contained in:
parent
121368fbc8
commit
66f8e1122e
@ -38,7 +38,7 @@ TARGET_CFLAGS += \
|
|||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CONFIGURE_ARGS="$(CONFIGURE_ARGS)" \
|
CONFIGURE_ARGS="$(CONFIGURE_ARGS)" \
|
||||||
LIBS="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a" \
|
LIBS_EADCLIENT="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a" \
|
||||||
LIBS_EAD="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a $(STAGING_DIR)/usr/lib/libpcap.a" \
|
LIBS_EAD="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a $(STAGING_DIR)/usr/lib/libpcap.a" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ CC = gcc
|
|||||||
CPPFLAGS = -I. -Itinysrp
|
CPPFLAGS = -I. -Itinysrp
|
||||||
CFLAGS = -Os -Wall
|
CFLAGS = -Os -Wall
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS = tinysrp/libtinysrp.a
|
LIBS_EADCLIENT = tinysrp/libtinysrp.a
|
||||||
LIBS_EAD = $(LIBS) -lpcap
|
LIBS_EAD = tinysrp/libtinysrp.a -lpcap
|
||||||
CONFIGURE_ARGS =
|
CONFIGURE_ARGS =
|
||||||
|
|
||||||
all: ead ead-client
|
all: ead ead-client
|
||||||
@ -26,7 +26,7 @@ ead: ead.o $(obj) tinysrp/libtinysrp.a
|
|||||||
$(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS_EAD)
|
$(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS_EAD)
|
||||||
|
|
||||||
ead-client: ead-client.o $(obj)
|
ead-client: ead-client.o $(obj)
|
||||||
$(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS)
|
$(CC) -o $@ $< $(obj) $(LDFLAGS) $(LIBS_EADCLIENT)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o ead ead-client
|
rm -f *.o ead ead-client
|
||||||
|
Loading…
Reference in New Issue
Block a user