diff --git a/debian/rules b/debian/rules index f5b6a7d00d..ab119f4397 100644 --- a/debian/rules +++ b/debian/rules @@ -189,8 +189,6 @@ binary-indep: build install $(call dh_subst_files,$(BINARY_INDEP_PKGS)) debian/d dh_testdir dh_testroot dh_install -i - # empty the dependency_libs in the *.la files - sed -i "/dependency_libs/ s/'.*'/''/" debian/$(DEV_PKG)/usr/lib/*.la dh_installchangelogs -i -N$(BIN_PKG) $(TOP_SRC_DIR)/ChangeLog $(TOP_SRC_DIR)/ChangeLog.* dh_installdocs -i -N$(BIN_PKG) dh_installman -i @@ -206,6 +204,8 @@ binary-arch: build install $(call dh_subst_files,$(BINARY_ARCH_PKGS)) debian/upd dh_testdir -a dh_testroot -a dh_install -a + # empty the dependency_libs in the *.la files + sed -i "/dependency_libs/ s/'.*'/''/" debian/$(DEV_PKG)/usr/lib/*.la # we don't need the rpath in the udeb chrpath -d debian/$(UDEB_PKG)/usr/lib/*directfb*.so.* # fix permissions of binaries below /usr/lib/$(SHARED_PKG)