mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects.py: Synthesize -l and -L both from pkg.required.devel
-L recursively, -l not. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4457345b0c
commit
60c6d770b5
1 changed files with 2 additions and 2 deletions
|
|
@ -155,7 +155,7 @@ def get_libname(names):
|
|||
|
||||
# -L needs to contain more paths than libs linked with -l would require
|
||||
def get_ldpathflags(names):
|
||||
deps = get_modules_from_project_txt(names, 'pkg.required', 'run',
|
||||
deps = get_modules_from_project_txt(names, 'pkg.required', 'devel',
|
||||
scope = 2, add_self=True, names_only=True)
|
||||
r = ''
|
||||
for m in deps:
|
||||
|
|
@ -166,7 +166,7 @@ def get_ldpathflags(names):
|
|||
|
||||
def get_ldflags(names):
|
||||
#print(names)
|
||||
deps = get_modules_from_project_txt(names, 'pkg.required', 'build',
|
||||
deps = get_modules_from_project_txt(names, 'pkg.required', 'devel',
|
||||
scope = 1, add_self=False, names_only=True)
|
||||
#print(deps)
|
||||
r = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue