[Freewx-maint] Bug#738849: Please enable webview support for wx3.0
olly at survex.com
Fri May 2 00:26:08 UTC 2014
On Fri, May 02, 2014 at 01:20:28AM +0100, Gianfranco Costamagna wrote:
> > A much cleaner way is just to add this to debian/rules instead of the
> > above changes:
> > export DEB_LDFLAGS_APPEND=-Wl,--as-needed
> are you sure about this? Seems to be not working
> and neither this
> (or at least I don't see them when building)
> are them hidden?
It works for me (on unstable):
olly at gemse:~$ dpkg-buildflags --get LDFLAGS
olly at gemse:~$ DEB_LDFLAGS_APPEND=-Wl,--as-needed dpkg-buildflags --get LDFLAGS
Did you include the *export* before them? That's important as it means
make will export the make variable DEB_LDFLAGS_APPEND to an environment
variable with the same name in the environment for child processes.
Without the "export", you've only set the make variable
DEB_LDFLAGS_APPEND, which dpkg-buildflags can't see.
More information about the Freewx-maint