Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build under RHEL based Linux where libraries are installed into lib64 instead of just lib #834

Merged
merged 1 commit into from
Aug 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deps/yaramod/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ set(YARAMOD_INSTALL_DIR ${CMAKE_BINARY_DIR}/deps/install/yaramod)

set(YARAMOD_LIB_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}yaramod${CMAKE_STATIC_LIBRARY_SUFFIX})
set(YARAMOD_LIB_PNAME ${CMAKE_STATIC_LIBRARY_PREFIX}retdec-yaramod${CMAKE_STATIC_LIBRARY_SUFFIX})
set(YARAMOD_LIB ${YARAMOD_INSTALL_DIR}/lib/${YARAMOD_LIB_NAME})
set(YARAMOD_LIB ${YARAMOD_INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/${YARAMOD_LIB_NAME})

set(FMT_LIB_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}pog_fmt${CMAKE_STATIC_LIBRARY_SUFFIX})
set(FMT_LIB_PNAME ${CMAKE_STATIC_LIBRARY_PREFIX}retdec-pog_fmt${CMAKE_STATIC_LIBRARY_SUFFIX})
set(FMT_LIB ${YARAMOD_INSTALL_DIR}/lib/${FMT_LIB_NAME})
set(FMT_LIB ${YARAMOD_INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/${FMT_LIB_NAME})

set(RE2_LIB_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}pog_re2${CMAKE_STATIC_LIBRARY_SUFFIX})
set(RE2_LIB_PNAME ${CMAKE_STATIC_LIBRARY_PREFIX}retdec-pog_re2${CMAKE_STATIC_LIBRARY_SUFFIX})
set(RE2_LIB ${YARAMOD_INSTALL_DIR}/lib/${RE2_LIB_NAME})
set(RE2_LIB ${YARAMOD_INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/${RE2_LIB_NAME})

if(YARAMOD_LOCAL_DIR)
message(STATUS "YaraMod: using local YaraMod directory.")
Expand Down