[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debhelper: LDFLAGS



On 19.12.2010 21:17, Jakub Wilk wrote:
> $ export LDFLAGS=bar # set by evil dpkg-buildpackage

Hm, seems I missed that part. Does dpkg-builpackage really set and *export* the
LDFLAGS env var?

That said, relying on dpkg-buildpackage to export the env variable means, you
get different builds if you run
fakeroot debian/rules binary
manually. I would be mighty confused by something like that. So I'd prefer
exporting the variable in debian/rules or using something like

LDFLAGS=-Wl,--as-needed

build:
	./configure LDFLAGS=$(LDFLAGS)
	make

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: