patch-pppd_plugins_rp-pppoe_Makefile_linux 862 B

1234567891011121314151617181920212223
  1. --- ppp-2.4.4.orig/pppd/plugins/rp-pppoe/Makefile.linux 2006-06-04 07:07:46.000000000 +0200
  2. +++ ppp-2.4.4/pppd/plugins/rp-pppoe/Makefile.linux 2009-06-05 19:12:00.000000000 +0200
  3. @@ -39,9 +39,9 @@ rp-pppoe.so: libplugin.a plugin.o
  4. install: all
  5. $(INSTALL) -d -m 755 $(LIBDIR)
  6. - $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
  7. + $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
  8. $(INSTALL) -d -m 755 $(BINDIR)
  9. - $(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
  10. + $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
  11. clean:
  12. rm -f *.o *.so
  13. @@ -50,7 +50,7 @@ plugin.o: plugin.c
  14. $(CC) '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I../../.. -c -o plugin.o -fPIC plugin.c
  15. libplugin.a: discovery.o if.o common.o debug.o
  16. - $(AR) -rc $@ $^
  17. + $(TARGET_AR) -rcs $@ $^
  18. discovery.o: discovery.c
  19. $(CC) $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o discovery.o -fPIC discovery.c