Fix CMAKE_INSTALL_LIBEXECDIR path

This commit is contained in:
zhouganqing 2024-01-04 15:44:53 +08:00
parent 017c3e9334
commit 2a40c740fa
3 changed files with 7 additions and 6 deletions

View File

@ -27,9 +27,7 @@ set(CMAKE_EXE_LINKER_FLAGS_COVERAGE "-lgcov")
set(CMAKE_SHARED_LINKER_FLAGS_COVERAGE "-lgcov")
# Work around bug in GNUInstallDirs
if (EXISTS "/etc/debian_version")
set(CMAKE_INSTALL_LIBEXECDIR "lib")
endif()
set(CMAKE_INSTALL_LIBEXECDIR "lib")
# Include stuff
include(Misc)

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
apt (2.5.4-ok6.1) yangtze; urgency=medium
* Fix CMAKE_INSTALL_LIBEXECDIR path.
-- zhouganqing <zhouganqing@kylinos.cn> Thu, 04 Jan 2024 15:43:38 +0800
apt (2.5.4-ok6) yangtze; urgency=medium
* 升级版本号避免重复

3
debian/rules vendored
View File

@ -25,9 +25,6 @@ override_dh_clean:
dh_clean
override_dh_install-arch:
ifeq ($(DEB_BUILD_ARCH), rv64g)
mv debian/tmp/usr/libexec/* debian/tmp/usr/lib/
endif
dh_install -papt-utils -X/dump
dh_install -papt -Xmethods/curl -Xmethods/curl+https -Xmethods/curl+http
dh_install --remaining