update wrt-radauth md5sum, fix path to libshared
[openwrt/svn-archive/archive.git] / net / wrt-radauth / patches / 001-ldpath.patch
1 diff -urN wrt-radauth/Makefile wrt-radauth.new/Makefile
2 --- wrt-radauth/Makefile 2007-01-07 20:05:21.000000000 +0100
3 +++ wrt-radauth.new/Makefile 2008-04-01 22:50:09.000000000 +0200
4 @@ -7,7 +7,7 @@
5 all: wrt-radauth radius-client
6
7 wrt-radauth: wrt-radauth.o md5.o wireless.o radius.o
8 - $(CC) $(LDFLAGS) -L$(WRT_BUILDROOT)/build_mipsel/root/usr/lib -lshared -lnvram $^ -o $@
9 + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L$(STAGING_DIR)/usr/lib -lnvram $(STAGING_DIR)/usr/lib/libshared.a
10
11
12 radius-client: radius-client.o md5.o radius.o