diff options
author | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-03 13:53:15 +0000 |
---|---|---|
committer | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-06-03 13:53:15 +0000 |
commit | 231bfe4d8a09503fe1d68c223e2b86345d2ea5e8 (patch) | |
tree | 1f39d65b01bde2b291be5a323168903f282816f0 /package/ead | |
parent | 4b7f3bb250578325ca4c8ffb8d476d18c84cfbd5 (diff) |
[package] ead: fix missing library error while building tinysrp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ead')
-rw-r--r-- | package/ead/Makefile | 2 | ||||
-rw-r--r-- | package/ead/src/Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
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 |