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

Debhelper: LDFLAGS



Hi,

I am building with Debhelper 8 (dh $@) and I have a C source here which builds with several spurious
shlib dependencies detected by dpkg-shlibdeps. I've found that setting LDFLAGS to "--as-needed"
prevents overkill linking.

Where can I override the the auto build process? Just setting a custom LDFLAGS in debian/rules isn't
given through. Even an override_dh_auto_configure with "./configure LDFLAGS="-Wl,--as-needed" is
overwritten during build process.

Any pointers? Thanks in advance!

Greetings,
Daniel Stender


Reply to: