Skip to content

Commit

Permalink
fix HINTS for libz, remove LIBELF_HOME from libz HINTS
Browse files Browse the repository at this point in the history
  • Loading branch information
aut0 committed Apr 3, 2020
1 parent f0f6563 commit 517fc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindLibELF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ find_library(LIBELF_LIBRARIES NAMES elf "libelf.a"
HINTS $ENV{LIBELF_HOME}/lib /usr/lib /lib)

find_library(LIBZ_LIBRARIES NAMES z "libz.a"
HINTS $ENV{LIBELF_HOME} $ENV{LIBZ_HOME} /usr/lib /lib)
HINTS $ENV{LIBZ_HOME}/lib /usr/lib /lib)

list(APPEND LIBELF_LIBRARIES ${LIBZ_LIBRARIES})

Expand Down

0 comments on commit 517fc22

Please sign in to comment.