Skip to content

Commit 064c7ae

Browse files
author
David Yip
committed
Preserve symlinks on shared objects when packaging
1 parent 2bc2848 commit 064c7ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conanfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ def package(self):
324324
if self.options.shared:
325325
self.copy(pattern="*libcrypto*.dylib", dst="lib", keep_path=False)
326326
self.copy(pattern="*libssl*.dylib", dst="lib", keep_path=False)
327-
self.copy(pattern="*libcrypto.so*", dst="lib", keep_path=False)
328-
self.copy(pattern="*libssl.so*", dst="lib", keep_path=False)
327+
self.copy(pattern="*libcrypto.so*", dst="lib", keep_path=False, symlinks=True)
328+
self.copy(pattern="*libssl.so*", dst="lib", keep_path=False, symlinks=True)
329329
else:
330330
self.copy("*.a", "lib", keep_path=False)
331331

0 commit comments

Comments
 (0)