Skip to content

Commit

Permalink
Fixed linker flags
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-bekish committed Nov 23, 2018
1 parent f5b96df commit 6de43ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conans/client/generators/qbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def __init__(self, cpp_info):
self.cflags = delimiter.join('"%s"' % d for d in cpp_info.cflags)
self.sharedlinkflags = delimiter.join('"%s"' % d
for d in cpp_info.sharedlinkflags)
self.sharedlinkflags += delimiter.join('"%s"' % d
for d in cpp_info.exelinkflags)
self.exelinkflags = delimiter.join('"%s"' % d
for d in cpp_info.exelinkflags)
self.bin_paths = delimiter.join('"%s"' % p.replace("\\", "/")
for p in cpp_info.bin_paths)
self.rootpath = '%s' % cpp_info.rootpath.replace("\\", "/")
Expand All @@ -43,7 +43,7 @@ def content(self):
' cpp.defines: [{deps.defines}]\n'
' cpp.cppFlags: [{deps.cppflags}]\n'
' cpp.cFlags: [{deps.cflags}]\n'
' cpp.linkerFlags: [{deps.sharedlinkflags}]\n'
' cpp.linkerFlags: [{deps.sharedlinkflags}, {deps.exelinkflags}]\n'
' }}\n'
' }}\n')

Expand Down

0 comments on commit 6de43ab

Please sign in to comment.