diff options
-rw-r--r-- | giscanner/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py index a6be9ee6..7a1e9393 100644 --- a/giscanner/ccompiler.py +++ b/giscanner/ccompiler.py @@ -208,7 +208,7 @@ class CCompiler(object): args.append('-libpath:' + library_path) else: args.append('-L' + library_path) - if os.path.isabs(library_path): + if os.name != 'nt' and os.path.isabs(library_path): if libtool: args.append('-rpath') args.append(library_path) |