From afb14e6782199310068028e66d8bcbb64023a580 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 22 Jan 2019 04:57:53 +0300 Subject: [PATCH] [fedora] fix build in release on fc30+ fixes #1284 --- contrib/rpm/i2pd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/rpm/i2pd.spec b/contrib/rpm/i2pd.spec index 48a60989..12f11175 100644 --- a/contrib/rpm/i2pd.spec +++ b/contrib/rpm/i2pd.spec @@ -45,8 +45,13 @@ cd build -DWITH_LIBRARY=OFF \ -DWITH_UPNP=ON \ -DWITH_HARDENING=ON \ +%if 0%{?fedora} > 29 + -DBUILD_SHARED_LIBS:BOOL=OFF \ + . +%else -DBUILD_SHARED_LIBS:BOOL=OFF %endif +%endif make %{?_smp_mflags}