Merge pull request #12516 from rozhuk-im/fbsd_build
[feed/packages.git] / net / rp-pppoe / patches / 130-static-lib-fix.patch
1 --- a/src/Makefile.in
2 +++ b/src/Makefile.in
3 @@ -140,7 +140,8 @@ plugin/plugin.o: plugin.c
4 @CC@ -DPLUGIN=1 '-DRP_VERSION="$(RP_VERSION)"' $(CFLAGS) -I$(PPPD_INCDIR) -c -o $@ -fPIC $<
5
6 plugin/libplugin.a: plugin/discovery.o plugin/if.o plugin/common.o plugin/debug.o
7 - ar -rc $@ $^
8 + $(AR) -rc $@ $^
9 + @RANLIB@ $@
10
11 plugin/discovery.o: discovery.c
12 @CC@ -DPLUGIN=1 $(CFLAGS) '-DRP_VERSION="$(RP_VERSION)"' -I$(PPPD_INCDIR) -c -o $@ -fPIC $<