From 32ea7542918387bcf28fb8dec347ddb166951754 Mon Sep 17 00:00:00 2001 From: Kalle Vahlman Date: Wed, 20 Jun 2012 10:35:39 +0300 Subject: Fix arch handling in packaging to be based on bits not arch names --- debian/rules | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/debian/rules b/debian/rules index 39da96c..dfc22f3 100755 --- a/debian/rules +++ b/debian/rules @@ -16,11 +16,9 @@ override_dh_auto_configure: make config XALAN=/usr/share/java/xalan2.jar LCD_INSTALLDIR='dist/' override_dh_auto_build: -ifeq ($(DEB_HOST_ARCH),i386) - make LBITS=32 -endif -ifeq ($(DEB_HOST_ARCH),amd64) - make LBITS=64 + make LBITS=$(DEB_HOST_ARCH_BITS) + +ifeq ($(DEB_HOST_ARCH_BITS),64) cp out/out_linux/liblcdriver_x64.so out/out_linux/liblcdriver.so cp lcmodule/out/out_linux/liblcm_x64.so.1 lcmodule/out/out_linux/liblcm.so.1 endif -- cgit v1.2.3