[Freewx-maint] Bug#738849: Please enable webview support for wx3.0
Olly Betts
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
> DEB_LDFLAGS_APPEND=-Wl,--as-needed
> and neither this
> DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
>
> (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
-Wl,-z,relro
olly at gemse:~$ DEB_LDFLAGS_APPEND=-Wl,--as-needed dpkg-buildflags --get LDFLAGS
-Wl,-z,relro -Wl,--as-needed
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.
Cheers,
Olly
More information about the Freewx-maint
mailing list