Add -Wl,--as-needed to LDFLAGS

ubuntu/cosmic
ChangZhuo Chen (陳昌倬) 9 years ago committed by Andrew Lee (李健秋)
parent f6dcf21350
commit f29a872b95

6
debian/rules vendored

@ -1,6 +1,12 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
%:
dh ${@} --buildsystem cmake --parallel \
--dbg-package=libqt5xdg1-dbg \

Loading…
Cancel
Save