nixpkgs-suyu/pkgs/tools/filesystems/blobfuse/install-adls.patch
polygon b73f621c25 blobfuse: Bump version, separately build cpplite
* Bump version to most recent 1.3.7 release
* Build scripts have changed, cpplite (azure-storage-lite) is now
  built separately
* Upstream they use build.sh to copy resulting static libraries to
  locations for blobfuse build, I put cpplite in a separate build
* adls library from cpplite was not installed and hence, not found
  by main blockfuse build, added a patch to install adls library, too
2021-05-19 10:35:55 -07:00

14 lines
546 B
Diff

diff --git a/adls/CMakeLists.txt b/adls/CMakeLists.txt
index 1fb7146..22e663a 100644
--- a/adls/CMakeLists.txt
+++ b/adls/CMakeLists.txt
@@ -50,3 +50,9 @@ if(BUILD_TESTS)
string(REGEX REPLACE "([^;]+)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" AZURE_STORAGE_ADLS_TEST_SOURCES "${AZURE_STORAGE_ADLS_TEST_SOURCES}")
set(AZURE_STORAGE_ADLS_TEST_SOURCES ${AZURE_STORAGE_ADLS_TEST_SOURCES} PARENT_SCOPE)
endif()
+
+install(TARGETS azure-storage-adls
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin)
+