Fix build on 32bits arches and on epel 7
This commit is contained in:
parent
6d0c01c615
commit
79761f1333
@ -21,7 +21,8 @@ Patch102: LibVNCServer-0.9.10-system-crypto-policy.patch
|
||||
Patch106: CVE-2018-15127.patch
|
||||
Patch107: CVE-2019-15681.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: pkgconfig(gnutls)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
@ -83,7 +84,9 @@ developing applications that use %{name}.
|
||||
%prep
|
||||
%setup -q -n %{name}-LibVNCServer-%{version}
|
||||
|
||||
%if "%{_libdir}" == "/usr/lib64"
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
@ -106,7 +109,7 @@ done
|
||||
%build
|
||||
mkdir -p %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%cmake ..
|
||||
%cmake3 ..
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user