Skip to content

Commit

Permalink
debian: set libexecdir for deb build
Browse files Browse the repository at this point in the history
Problem: dh_auto_configure(1) does not seem to set libexecdir
automatically for package builds.

Add -DCMAKE_INSTALL_LIBEXECDIR to get the correct libexecdir for
debian systems in the cmake based build.
  • Loading branch information
grondo committed Sep 29, 2023
1 parent 627f076 commit 74c2219
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
override_dh_autoreconf:
@echo not running autogen.sh on dist product

override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_install:
dh_auto_install
find . -name '*.la' -delete

0 comments on commit 74c2219

Please sign in to comment.