Skip to content

Commit 0bab1f7

Browse files
authored
Merge pull request conan-community#90 from yipdw/bugfix/preserve-so-symlinks
Preserve symlinks on shared objects when packaging
2 parents 2bc2848 + 064c7ae commit 0bab1f7

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)