Skip to content

Commit

Permalink
fix apple relocatable shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
StellaSmith committed Jan 20, 2023
1 parent 8ab8d82 commit 6cd98d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/lua/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from conan import ConanFile
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.files import get, copy, load, save, export_conandata_patches, apply_conandata_patches, collect_libs
from conan.tools.apple import fix_apple_shared_install_name


required_conan_version = ">=1.53.0"
Expand Down Expand Up @@ -70,6 +71,7 @@ def package(self):
save(self, os.path.join(self.package_folder, "licenses", "COPYING.txt"), license_contents)
cmake = CMake(self)
cmake.install()
fix_apple_shared_install_name(self)

def package_info(self):
self.cpp_info.libs = collect_libs(self)
Expand Down

0 comments on commit 6cd98d0

Please sign in to comment.