Skip to content

Commit

Permalink
Only build libelf from elfutils; their dwarf.h and libdwarf's dwarf.h…
Browse files Browse the repository at this point in the history
… appear to conflict.
  • Loading branch information
wrwilliams committed Feb 7, 2017
1 parent 64b2a43 commit 5446950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/packages.cmake
Expand Up @@ -8,8 +8,8 @@ if (UNIX)
PREFIX ${CMAKE_BINARY_DIR}/libelf
URL https://sourceware.org/elfutils/ftp/0.168/elfutils-0.168.tar.bz2
CONFIGURE_COMMAND <SOURCE_DIR>/configure --enable-shared --prefix=${CMAKE_BINARY_DIR}/libelf
BUILD_COMMAND make
INSTALL_COMMAND make install
BUILD_COMMAND make -C libelf
INSTALL_COMMAND make -C libelf install
)
set(LIBELF_INCLUDE_DIR ${CMAKE_BINARY_DIR}/libelf/include)
set(LIBELF_LIBRARIES ${CMAKE_BINARY_DIR}/libelf/lib/libelf.so)
Expand Down

0 comments on commit 5446950

Please sign in to comment.