From 9438c23acd48fbb637ce88448bd4ef217134bd7a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 21 Mar 2021 23:04:49 +0800 Subject: [PATCH] debian/rules: add with_system_libs option so the maintainer can choose to use the packages shipped by distro. Signed-off-by: Kefu Chai --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 7037c197d76ac..f808099fb5c7b 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,10 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) extraopts += -DBOOST_J=$(NUMJOBS) endif +ifneq (,$(filter with_system_libs,$(DEB_BUILD_OPTIONS))) + extraopts += -DWITH_SYSTEM_BOOST=ON + extraopts += -DWITH_SYSTEM_PMDK=ON +endif %: dh $@ --buildsystem=cmake --with javahelper,python3,systemd --parallel -- 2.47.3