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}