Commit d60083f0 authored by Ken Bloom's avatar Ken Bloom

-Wl,--as-needed

Use --as-needed when linking so that the Java package and the CLI
package don't pick up unneeded dependencies on spell checkers and the
like.
parent dcbb7946
......@@ -6,6 +6,8 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS=-Wl,--as-needed
ifneq (,$(shell dh_listpackages -s | grep liblink-grammar4-java))
WITH_JAVA := yes
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment