| 1 | Description: Add a SONAME to the pppd binary |
| 2 | This hack inserts a SONAME into the pppd binary, which allows us to |
| 3 | run dpkg-gensymbols/dh_makeshlibs over the resulting binary. This is |
| 4 | useful so that we can use Debian's standard build infrastructure to |
| 5 | help track the ppp binary's ABI, which is used by plugins. |
| 6 | Author: Chris Boot <[email protected]> |
| 7 | Forwarded: not-needed |
| 8 | Last-Update: 2015-12-05 |
| 9 | |
| 10 | --- a/pppd/Makefile.am |
| 11 | +++ b/pppd/Makefile.am |
| 12 | @@ -213,6 +213,8 @@ |
| 13 | |
| 14 | pppd_LDADD = $(pppd_LIBS) |
| 15 | |
| 16 | +pppd_LDFLAGS += -Wl,-soname,pppd.so.$(PACKAGE_VERSION) |
| 17 | + |
| 18 | EXTRA_DIST = \ |
| 19 | ppp.pam \ |
| 20 | srp-entry.8 |