Files

11 lines
548 B
Diff
Raw Permalink Normal View History

2023-04-08 17:09:00 -05:00
--- gdb/python/python-config.py.orig 2023-02-01 22:45:52.000000000 -0600
+++ gdb/python/python-config.py 2023-04-08 17:07:57.000000000 -0500
@@ -77,6 +77,6 @@
2021-10-08 20:24:23 -07:00
libs.insert(0, "-L" + getvar("LIBPL"))
elif os.name == "nt":
2023-04-08 17:09:00 -05:00
libs.insert(0, "-L" + os.path.normpath(sys.prefix) + "/libs")
2021-10-08 20:24:23 -07:00
- if getvar("LINKFORSHARED") is not None:
+ if not getvar("PYTHONFRAMEWORK"):
libs.extend(getvar("LINKFORSHARED").split())
print(to_unix_path(" ".join(libs)))