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:
parent
8d51cf1364
commit
389339cab2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue