Skip to content

Commit 9bd2254

Browse files
authored
Update rules
1 parent ec5a21f commit 9bd2254

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Package/debian/rules

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@
1414

1515
#export QT_SELECT=qt5
1616

17+
18+
ifdef INSTALL_DIR
19+
LIB_PARAS += ${INSTALL_DIR}/lib
20+
endif
21+
22+
ifdef BUILD_VERBOSE
23+
CMAKE_CONFIG_PARAS+="-DCMAKE_VERBOSE_MAKEFILE=${BUILD_VERBOSE}"
24+
endif
25+
1726
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
1827
BUILD_DIR = "build_$(DEB_HOST_MULTIARCH)"
1928
PACKAGE_DIR = "debian/rabbitim"
@@ -53,4 +62,4 @@ override_dh_auto_install:
5362
--prefix $(PACKAGE_DIR)/opt/RabbitIm
5463

5564
override_dh_shlibdeps:
56-
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l`pwd`/debian/rabbitim/opt/RabbitIm/lib/`uname -m`-linux-gnu:`pwd`/debian/rabbitim/opt/RabbitIm/lib:$(THIRD_LIBRARY_PATH)/lib
65+
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l`pwd`/debian/rabbitim/opt/RabbitIm/lib/`uname -m`-linux-gnu:`pwd`/debian/rabbitim/opt/RabbitIm/lib:$(LIB_PARAS)

0 commit comments

Comments
 (0)