mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Fix finding libraries
This commit is contained in:
parent
149a7305b7
commit
67e68c84c3
@ -42,19 +42,19 @@ install(TARGETS cp-nano-http-transaction-handler DESTINATION bin)
|
|||||||
install(TARGETS cp-nano-http-transaction-handler DESTINATION http_transaction_handler_service/bin)
|
install(TARGETS cp-nano-http-transaction-handler DESTINATION http_transaction_handler_service/bin)
|
||||||
|
|
||||||
execute_process (
|
execute_process (
|
||||||
COMMAND bash -c "find /usr/lib -name \"libpcre2-8.so*\" | awk '{printf $0\";\"}'"
|
COMMAND bash -c "find /usr/lib -name \"libpcre2-8.so*\" | awk '{printf \$0\";\"}'"
|
||||||
OUTPUT_VARIABLE pcre2-8
|
OUTPUT_VARIABLE pcre2-8
|
||||||
)
|
)
|
||||||
install(FILES ${pcre2-8} DESTINATION http_transaction_handler_service/lib)
|
install(FILES ${pcre2-8} DESTINATION http_transaction_handler_service/lib)
|
||||||
|
|
||||||
execute_process (
|
execute_process (
|
||||||
COMMAND bash -c "find /usr/lib -name \"libpcre2-posix.so*\" | awk '{printf $0\";\"}'"
|
COMMAND bash -c "find /usr/lib -name \"libpcre2-posix.so*\" | awk '{printf \$0\";\"}'"
|
||||||
OUTPUT_VARIABLE pcre2-posix
|
OUTPUT_VARIABLE pcre2-posix
|
||||||
)
|
)
|
||||||
install(FILES ${pcre2-posix} DESTINATION http_transaction_handler_service/lib)
|
install(FILES ${pcre2-posix} DESTINATION http_transaction_handler_service/lib)
|
||||||
|
|
||||||
execute_process (
|
execute_process (
|
||||||
COMMAND bash -c "find /usr/lib -name \"libxml2.so*\" | awk '{printf $0\";\"}'"
|
COMMAND bash -c "find /usr/lib -name \"libxml2.so*\" | awk '{printf \$0\";\"}'"
|
||||||
OUTPUT_VARIABLE xml2
|
OUTPUT_VARIABLE xml2
|
||||||
)
|
)
|
||||||
install(FILES ${xml2} DESTINATION http_transaction_handler_service/lib)
|
install(FILES ${xml2} DESTINATION http_transaction_handler_service/lib)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user