git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3412ddb
)
rp-pppoe: fix linker errors
author
Felix Fietkau
<redacted>
Wed, 7 Mar 2018 16:20:24 +0000
(17:20 +0100)
committer
Felix Fietkau
<redacted>
Wed, 7 Mar 2018 16:20:31 +0000
(17:20 +0100)
Signed-off-by: Felix Fietkau <redacted>
net/rp-pppoe/patches/130-static-lib-fix.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/net/rp-pppoe/patches/130-static-lib-fix.patch
b/net/rp-pppoe/patches/130-static-lib-fix.patch
new file mode 100644
(file)
index 0000000..
c7806dd
--- /dev/null
+++ b/
net/rp-pppoe/patches/130-static-lib-fix.patch
@@ -0,0
+1,12
@@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -139,7 +139,8 @@ plugin/plugin.o: plugin.c
+ @CC@ -DPLUGIN=1 '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I$(PPPD_INCDIR) -c -o $@ -fPIC $<
+
+ plugin/libplugin.a: plugin/discovery.o plugin/if.o plugin/common.o plugin/debug.o
+- ar -rc $@ $^
++ $(AR) -rc $@ $^
++ @RANLIB@ $@
+
+ plugin/discovery.o: discovery.c
+ @CC@ -DPLUGIN=1 $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o $@ -fPIC $<
git clone https://git.99rst.org/PROJECT