mirror of https://github.com/Icinga/icinga2.git
parent
92eb6a2f45
commit
3436dbc697
|
@ -97,12 +97,7 @@ BuildRequires: cmake
|
||||||
BuildRequires: flex >= 2.5.35
|
BuildRequires: flex >= 2.5.35
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
%if "%{_vendor}" == "suse"
|
|
||||||
BuildRequires: libreadline-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{_vendor}" == "redhat" && (0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5")
|
%if "%{_vendor}" == "redhat" && (0%{?el5} || 0%{?rhel} == 5 || "%{?dist}" == ".el5")
|
||||||
# el5 requires packages.icinga.org
|
# el5 requires packages.icinga.org
|
||||||
|
|
|
@ -38,7 +38,7 @@ add_library(cli SHARED ${cli_SOURCES})
|
||||||
target_link_libraries(cli ${Boost_LIBRARIES} base config remote)
|
target_link_libraries(cli ${Boost_LIBRARIES} base config remote)
|
||||||
|
|
||||||
if(HAVE_LIBREADLINE)
|
if(HAVE_LIBREADLINE)
|
||||||
target_link_libraries(cli readline)
|
target_link_libraries(cli readline termcap)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties (
|
set_target_properties (
|
||||||
|
|
Loading…
Reference in New Issue