Skip to content

Commit

Permalink
Modifying sip_configure (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
brawner authored and dirk-thomas committed Sep 30, 2019
1 parent 1b3000d commit 97be6f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/sip_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def __init__(self):


def custom_platform_lib_function(self, clib, framework=0):
if not clib or clib.isspace():
return None
# Only add '-l' if a library doesn't already start with '-l' and is not an absolute path
if os.path.isabs(clib) or clib.startswith('-l'):
return clib
Expand Down

0 comments on commit 97be6f5

Please sign in to comment.