Add -Wl,--as-needed

ubuntu/bionic
ChangZhuo Chen (陳昌倬) 9 years ago
parent 31303e1db1
commit d89303e31f

2
debian/rules vendored

@ -1,11 +1,11 @@
#!/usr/bin/make -f #!/usr/bin/make -f
#export DH_VERBOSE=1 #export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh ${@} --buildsystem cmake --parallel dh ${@} --buildsystem cmake --parallel
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxqt-qtplugin dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxqt-qtplugin

Loading…
Cancel
Save