File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ include(CMakeDependentOption)
5757include (CMakePushCheckState)
5858include (FeatureSummary)
5959include (PHP/AddCustomCommand)
60+ include (PHP/SearchLibraries)
6061
6162################################################################################
6263# Configuration.
@@ -557,6 +558,14 @@ include(cmake/CheckFloatPrecision.cmake)
557558# Check for strerror_r, and if its a POSIX-compatible or a GNU-specific version.
558559include (cmake/CheckStrerrorR.cmake)
559560
561+ # Check for Solaris/illumos process mapping.
562+ php_search_libraries(
563+ Pgrab
564+ HEADERS libproc.h
565+ LIBRARIES proc
566+ TARGET zend PRIVATE
567+ )
568+
560569################################################################################
561570# Generate lexers and parsers.
562571################################################################################
Original file line number Diff line number Diff line change @@ -655,14 +655,6 @@ php_search_libraries(
655655 TARGET php_configuration INTERFACE
656656)
657657
658- # Check for Solaris/illumos process mapping.
659- php_search_libraries(
660- Pgrab
661- HEADERS libproc.h
662- LIBRARIES proc
663- TARGET php_configuration INTERFACE
664- )
665-
666658# The gai_strerror() is mostly in C library (Solaris 11.4...)
667659php_search_libraries(
668660 gai_strerror
You can’t perform that action at this time.
0 commit comments