浏览代码

HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java requires it (Ayappan via Colin P. McCabe)

(cherry picked from commit 7642f64c24961d2b4772591a0957e2699162a083)
Colin Patrick Mccabe 9 年之前
父节点
当前提交
a0450b96a2
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
  2. 1 0
      hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -847,6 +847,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8908. TestAppendSnapshotTruncate may fail with IOException: Failed to
     replace a bad datanode. (Tsz Wo Nicholas Sze via yliu)
 
+    HDFS-8922. Link the native_mini_dfs test library with libdl, since IBM Java
+    requires it (Ayappan via Colin P. McCabe)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 0
hadoop-hdfs-project/hadoop-hdfs/src/CMakeLists.txt

@@ -144,6 +144,7 @@ add_library(native_mini_dfs
 )
 target_link_libraries(native_mini_dfs
     ${JAVA_JVM_LIBRARY}
+    ${LIB_DL}
     ${OS_LINK_LIBRARIES}
 )