diff options
-rw-r--r-- | openjpeg2-static.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openjpeg2-static.spec b/openjpeg2-static.spec index e8266b4..7ee2dba 100644 --- a/openjpeg2-static.spec +++ b/openjpeg2-static.spec @@ -8,7 +8,7 @@ Name: openjpeg2-static Version: 2.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C-Library for JPEG 2000 # windirent.h is MIT, the rest is BSD @@ -216,6 +216,9 @@ rm -rf thirdparty mkdir %{_target_platform} pushd %{_target_platform} +# Needed for the static library +export CFLAGS="%{optflags} -fPIC" + # TODO: Consider # -DBUILD_JPIP_SERVER=ON -DBUILD_JAVA=ON %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPENJPEG_INSTALL_LIB_DIR=%{_lib} \ @@ -335,6 +338,9 @@ make test -C %{_target_platform} %changelog +* Thu Apr 4 2019 Remi Collet <remi@remirepo.net> - 2.3.1-2 +- re-add -fPIC build flag + * Wed Apr 3 2019 Remi Collet <remi@remirepo.net> - 2.3.1-1 - Update to 2.3.1 from Fedora |