|
@@ -38,6 +38,7 @@ ifeq (,$(filter maintainer-build,$(DEB_BUILD_OPTIONS)))
|
|
|
endif
|
|
|
|
|
|
D := $(CURDIR)/debian/tmp
|
|
|
+D_MA := $(D)/usr/lib/$(DEB_HOST_MULTIARCH)
|
|
|
|
|
|
# Create configure script if necessary, automake handles rebuilding it.
|
|
|
configure:
|
|
@@ -57,7 +58,6 @@ build-tree/config.status: configure
|
|
|
--infodir=\$${datadir}/info \
|
|
|
--sysconfdir=/etc \
|
|
|
--sbindir=/sbin \
|
|
|
- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
|
|
|
--localstatedir=/var \
|
|
|
--with-zlib \
|
|
|
--with-liblzma \
|
|
@@ -86,6 +86,11 @@ install: check
|
|
|
|
|
|
cd build-tree && $(MAKE) DESTDIR=$(D) install
|
|
|
|
|
|
+ # Passing --libdir to configure has too many side effects, install
|
|
|
+ # the paths into Multi-Arch directories here instead.
|
|
|
+ mkdir -p $(D_MA)
|
|
|
+ mv $(D)/usr/lib/libdpkg.a $(D_MA)
|
|
|
+
|
|
|
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
|
|
|
# Ubuntu's «i386» architecture is built for i686 (the Debian default
|
|
|
# is i586).
|