debian: Fix library installation path.

Blind fix for bug 15084 (needs testing).

CMake GNUInstallDirs module supports Debian multiarch (all supported
CMake versions?).

Bug: 15084
Change-Id: I477bf252a3faf3dd0fd2ad648a0059bf88d2211a
Reviewed-on: https://code.wireshark.org/review/29330
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
João Valverde 2018-08-29 05:54:46 +01:00 committed by Anders Broman
parent 8d51cf1364
commit 389339cab2
1 changed files with 1 additions and 2 deletions

3
debian/rules vendored
View File

@ -20,14 +20,13 @@ ifneq (,$(filter $(distrelease),wheezy))
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic
endif
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p')
export docdir = /usr/share/doc/wireshark-doc
%:
dh $@ --with python2 --buildsystem cmake --with quilt --parallel
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_xxx2deb=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
dh_auto_configure -- -DBUILD_xxx2deb=ON
override_dh_auto_build:
$(MAKE) -C $(CURDIR)/obj-* asn1