From: Kefu Chai Date: Sun, 21 Mar 2021 15:04:49 +0000 (+0800) Subject: debian/rules: add with_system_libs option X-Git-Tag: v17.1.0~2494^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40291%2Fhead;p=ceph.git debian/rules: add with_system_libs option so the maintainer can choose to use the packages shipped by distro. Signed-off-by: Kefu Chai --- diff --git a/debian/rules b/debian/rules index 7037c197d76..f808099fb5c 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