mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
build: fix PHP library used to compile PHP plugin (closes #1078)
This was causing a dependency missing in debian packaging.
This commit is contained in:
@@ -24,7 +24,8 @@ set_target_properties(php PROPERTIES PREFIX "")
|
||||
|
||||
if(PHP_FOUND)
|
||||
include_directories(${PHP_INCLUDE_DIRS})
|
||||
target_link_libraries(php ${PHP_LDFLAGS} weechat_plugins_scripts)
|
||||
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${PHP_LDFLAGS}")
|
||||
target_link_libraries(php ${PHP_LIB} weechat_plugins_scripts)
|
||||
endif()
|
||||
|
||||
install(TARGETS php LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user