json-c: fix install on macOS (#23912)
This commit is contained in:
parent
3c587b14ad
commit
dbde984de1
@ -47,3 +47,9 @@ def patch(self):
|
|||||||
filter_file('-Werror',
|
filter_file('-Werror',
|
||||||
'',
|
'',
|
||||||
'CMakeLists.txt')
|
'CMakeLists.txt')
|
||||||
|
|
||||||
|
@run_after('install')
|
||||||
|
def darwin_fix(self):
|
||||||
|
# The shared library is not installed correctly on Darwin; fix this
|
||||||
|
if 'platform=darwin' in self.spec:
|
||||||
|
fix_darwin_install_name(self.prefix.lib)
|
||||||
|
Loading…
Reference in New Issue
Block a user