aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 13:53:15 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 13:53:15 +0000
commitd9da12c6adedd5470c1972026d18abc99d40251a (patch)
tree1f39d65b01bde2b291be5a323168903f282816f0
parent1ef27048f7ab2bf6aa43f2416c1fd2632a29d992 (diff)
downloadupstream-d9da12c6adedd5470c1972026d18abc99d40251a.tar.gz
upstream-d9da12c6adedd5470c1972026d18abc99d40251a.tar.bz2
upstream-d9da12c6adedd5470c1972026d18abc99d40251a.zip
[package] ead: fix missing library error while building tinysrp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16309 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ead/Makefile2
-rw-r--r--package/ead/src/Makefile6
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