commit | d4b4a12989ea71d2c307cc7e177378c15395fc4c | [log] [tgz] |
---|---|---|
author | Marat Dukhan <marat@fb.com> | Sun Mar 18 08:16:25 2018 +0000 |
committer | Marat Dukhan <marat@fb.com> | Sun Mar 18 08:16:25 2018 +0000 |
tree | d9208b8beb36e547c4f362ece2150fd9034bffd2 | |
parent | e8464018502f6f3fa157b58aa9c1b2bc92115c4a [diff] |
Link libdl to auxv-dump utility on ARM64/Linux
diff --git a/CMakeLists.txt b/CMakeLists.txt index e5f4e93..01c0276 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -717,6 +717,7 @@ CPUINFO_TARGET_ENABLE_C99(auxv-dump) TARGET_INCLUDE_DIRECTORIES(auxv-dump PRIVATE src) TARGET_INCLUDE_DIRECTORIES(auxv-dump PRIVATE include) + TARGET_LINK_LIBRARIES(auxv-dump PRIVATE ${CMAKE_DL_LIBS}) ENDIF() IF(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i686|x86_64)$")