From: Vasilis Tsiligiannis Date: Wed, 3 Jun 2009 13:53:15 +0000 (+0000) Subject: ead: fix missing library error while building tinysrp X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=66f8e1122e44902fd9a9badf90b981072d198663;p=librecmc%2Flibrecmc.git ead: fix missing library error while building tinysrp SVN-Revision: 16309 --- diff --git a/package/ead/Makefile b/package/ead/Makefile index 958577ff90..8c3d4701c8 100644 --- a/package/ead/Makefile +++ b/package/ead/Makefile @@ -38,7 +38,7 @@ TARGET_CFLAGS += \ MAKE_FLAGS += \ 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" \ CFLAGS="$(TARGET_CFLAGS)" diff --git a/package/ead/src/Makefile b/package/ead/src/Makefile index 0b68f60abe..faef3b7997 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