summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-04-08 10:55:30 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-04-08 10:55:30 +0300
commit30922c5741af0c712f465d0e98b71f8848c0db91 (patch)
tree0c3fd7ef12ceb0a3ddf9a48b4bbf76294da912f0 /pkg/rpm/Makefile
parent6c97a1a069f0ae8cf683c8364fb7f9dabc5e89cb (diff)
downloadunit-30922c5741af0c712f465d0e98b71f8848c0db91.tar.gz
unit-30922c5741af0c712f465d0e98b71f8848c0db91.tar.bz2
Packages: moved Amazon Linux 2 packages to use openssl 1.1
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 75327c49..f9c57b5b 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -41,8 +41,12 @@ endif
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
BUILD_DEPENDS_unit += libxml2-tools libxslt1 libopenssl-devel
else
+ifneq (,$(findstring $(OSVER),amazonlinux2))
+BUILD_DEPENDS_unit += libxml2 libxslt openssl11-devel
+else
BUILD_DEPENDS_unit += libxml2 libxslt openssl-devel
endif
+endif
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)