Comment 3 for bug 2070015

Revision history for this message
Benjamin Drung (bdrung) wrote : Re: dpkg-buildpackage broke rp-pppoe building

I found the reason:

rp-pppoe does not use dh but includes /usr/share/dpkg/buildflags.mk which calls `dpkg-buildflags --get LDFLAGS`. This command only exports LDFLAGS but does not expose the needed environment variables.

So we need to expose them in /usr/share/dpkg/buildflags.mk as well.