Browse Source

only use archive_entry_copy_bhfi.c on windows so we don't get empty .o file warnings

Bill Hoffman 16 years ago
parent
commit
7a35b9ba3a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Utilities/cmlibarchive/libarchive/CMakeLists.txt

+ 2 - 2
Utilities/cmlibarchive/libarchive/CMakeLists.txt

@@ -18,7 +18,7 @@ SET(libarchive_SOURCES
   archive_entry.c
   archive_entry.h
   archive_entry_copy_stat.c
-  archive_entry_copy_bhfi.c
+#  archive_entry_copy_bhfi.c
   archive_entry_link_resolver.c
   archive_entry_private.h
   archive_entry_stat.c
@@ -105,7 +105,7 @@ SET(libarchive_MANS
 )
 
 IF(WIN32 AND NOT CYGWIN)
-#  LIST(APPEND libarchive_SOURCES archive_entry_copy_bhfi.c)
+  LIST(APPEND libarchive_SOURCES archive_entry_copy_bhfi.c)
   LIST(APPEND libarchive_SOURCES archive_windows.c)
   LIST(APPEND libarchive_SOURCES archive_windows.h)
   LIST(APPEND libarchive_SOURCES filter_fork_windows.c)