[DEBUG] MacOs dynamic variable
This commit is contained in:
parent
2dcbbe9639
commit
fa1b618896
@ -99,9 +99,10 @@ def link(file, binary, target, depancy, name, basic_path, static = False):
|
|||||||
lib_name = elem[len(lib_path)+len(target.prefix_lib)+1:-len(target.suffix_lib_dynamic)]
|
lib_name = elem[len(lib_path)+len(target.prefix_lib)+1:-len(target.suffix_lib_dynamic)]
|
||||||
cmd.append("-L" + lib_path)
|
cmd.append("-L" + lib_path)
|
||||||
cmd.append("-l" + lib_name)
|
cmd.append("-l" + lib_name)
|
||||||
|
if target.name != "MacOs" \
|
||||||
|
and target.name != "Android":
|
||||||
if len(list_dynamic) > 0:
|
if len(list_dynamic) > 0:
|
||||||
cmd.append("-Wl,-R$ORIGIN/../lib/")
|
cmd.append("-Wl,-R$ORIGIN/../lib/")
|
||||||
pass
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
|
@ -91,7 +91,7 @@ def link(file, binary, target, depancy, name, basic_path, static=False):
|
|||||||
lib_name = elem[len(lib_path)+len(target.prefix_lib)+1:-len(target.suffix_lib_dynamic)]
|
lib_name = elem[len(lib_path)+len(target.prefix_lib)+1:-len(target.suffix_lib_dynamic)]
|
||||||
cmd.append("-L" + lib_path)
|
cmd.append("-L" + lib_path)
|
||||||
cmd.append("-l" + lib_name)
|
cmd.append("-l" + lib_name)
|
||||||
if target != "MacOs" \
|
if target.name != "MacOs" \
|
||||||
and target.name != "Android":
|
and target.name != "Android":
|
||||||
if len(list_dynamic) > 0:
|
if len(list_dynamic) > 0:
|
||||||
cmd.append("-Wl,-R$ORIGIN/../lib/")
|
cmd.append("-Wl,-R$ORIGIN/../lib/")
|
||||||
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ def readme():
|
|||||||
|
|
||||||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
setup(name='lutin',
|
setup(name='lutin',
|
||||||
version='0.7.1',
|
version='0.7.2',
|
||||||
description='Lutin generic builder',
|
description='Lutin generic builder',
|
||||||
long_description=readme(),
|
long_description=readme(),
|
||||||
url='http://github.com/HeeroYui/lutin',
|
url='http://github.com/HeeroYui/lutin',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user