aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2020-12-29 19:13:50 +0200
committerPaul Spooren <mail@aparcar.org>2021-01-01 10:26:20 -1000
commit5eaf6d8bead2f1313d2e19ae485fcb008bfc073a (patch)
tree763c0688aa851a38efb807fc6a023e1ab3223a80
parent49d678f0d29405883e0789297a476154eef18ec5 (diff)
downloadupstream-5eaf6d8bead2f1313d2e19ae485fcb008bfc073a.tar.gz
upstream-5eaf6d8bead2f1313d2e19ae485fcb008bfc073a.tar.bz2
upstream-5eaf6d8bead2f1313d2e19ae485fcb008bfc073a.zip
libevent2: trigger rebuild on libevent2-pthreads
The symbol determines if the libevent2-pthreads libraries get built or not. If we want to select libevent2-pthreads, and these haven't been built, an error will occur mentioning that there are no 'libevent_pthreads-2.1.so' files. Adding CONFIG_PACKAGE_libevent2-pthreads to PKG_CONFIG_DEPEND will make sure that the libraries get re-built in case libevent2-pthreads is selected. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
-rw-r--r--package/libs/libevent2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libs/libevent2/Makefile b/package/libs/libevent2/Makefile
index b949c9f9d6..701840a871 100644
--- a/package/libs/libevent2/Makefile
+++ b/package/libs/libevent2/Makefile
@@ -23,6 +23,7 @@ PKG_CPE_ID:=cpe:/a:libevent_project:libevent
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_libevent2-openssl \
+ CONFIG_PACKAGE_libevent2-pthreads \
CONFIG_PACKAGE_libevent2-mbedtls
include $(INCLUDE_DIR)/package.mk