Commit c2d5ce8b authored by Yavor Doganov's avatar Yavor Doganov

rules: Export DEB_* variables; override dh_makeshlibs.

parent a9454ef7
......@@ -5,11 +5,11 @@
include /usr/share/GNUstep/debian/config.mk
d_app := $(CURDIR)/debian/wrapperfactory.app
DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Make sure there are no undefined symbols and avoid unnecessary
# dependencies.
DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,--as-needed \
-Wl,-rpath,/usr/lib/wrapperfactory.app
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,--as-needed \
-Wl,-rpath,/usr/lib/wrapperfactory.app
%:
dh $@
......@@ -35,3 +35,7 @@ override_dh_link:
&& dh_link usr/share/GNUstep/WrapperFactory.app/`basename $$i` \
$(GNUSTEP_SYSTEM_APPS)/WrapperFactory.app/Resources/`basename $$i`; \
done
override_dh_makeshlibs:
# Avoid lintian warning for the private library.
dh_makeshlibs --noscripts
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