summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/deb/debian.rules
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-10-30 09:47:40 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-10-31 21:31:31 +0000
commit186580dd49cd32c0bdbfec71e58a3098c9bd5887 (patch)
tree79605956ce9c8998765269be0925b96de6a82076 /conf.d/packaging/deb/debian.rules
parent2f3654275e44f9719818a848da9a0b576d5a1b53 (diff)
Fix packaging for native build
- *.pc file must have ascii charset - remove gcc dependency for deb package - Fix *.pc file packaging for deb package - set CMAKE_INSTALL_LIBDIR in debian.rules Change-Id: I448aedcdb6fd21d662416ac72148d98da5e05ac3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'conf.d/packaging/deb/debian.rules')
-rw-r--r--conf.d/packaging/deb/debian.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules
index 5a71d2a..d159744 100644
--- a/conf.d/packaging/deb/debian.rules
+++ b/conf.d/packaging/deb/debian.rules
@@ -33,7 +33,7 @@ build-stamp: configure-stamp
mkdir -p build
export PKG_CONFIG_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
cd build && \
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/AGL -DCMAKE_BUILD_TYPE=DEBUG .. && \
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/AGL -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_LIBDIR:PATH=lib/$(DEB_HOST_MULTIARCH) .. && \
$(MAKE)
touch build-stamp