Codebase list libatasmart / d8ce4e2
Don't rely on dpkg-buildpackage to export LDFLAGS for us Michael Biebl 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 %:
33 dh $@
44
5 LDFLAGS += -Wl,--as-needed
5 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
66
77 override_dh_link:
88 dh_link -plibatasmart-dev lib/$$(basename $$(readlink debian/tmp/usr/lib/libatasmart.so)) usr/lib/libatasmart.so