mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
fish.spec: turn the BUILD_SHARED_LIBS option off
PCRE2 should only be built as a static library. Closes #5448.
This commit is contained in:
parent
6783c63eee
commit
7191a42ca0
|
@ -49,6 +49,9 @@ EXTRA_CMAKE_FLAGS="-DCURSES_EXTRA_LIBRARY=tinfo"
|
|||
export CXXFLAGS="$CXXFLAGS -march=i686"
|
||||
%endif
|
||||
%endif
|
||||
# CMake macros define -DBUILD_SHARED_LIBS:BOOL=ON, which breaks the
|
||||
# bundled PCRE2 static library.
|
||||
EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DBUILD_SHARED_LIBS:BOOL=OFF"
|
||||
# CMake macros define the wrong sysconfdir arguments
|
||||
EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir}"
|
||||
%if 0%{?rhel_version} && 0%{?rhel_version} < 800
|
||||
|
|
Loading…
Reference in New Issue
Block a user