LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File link-python.diff of Package python3-qt4 (Project KDE:Qt:STABLE)

Index: PyQt-x11-gpl-4.8.3/configure.py
===================================================================
--- PyQt-x11-gpl-4.8.3.orig/configure.py	2011-01-23 11:08:20.000000000 +0100
+++ PyQt-x11-gpl-4.8.3/configure.py	2011-02-11 11:31:07.548439367 +0100
@@ -1274,6 +1274,8 @@ def add_makefile_extras(makefile, extra_
     if extra_libs:
         makefile.extra_libs.extend(extra_libs)
 
+    for lib in os.popen("python-config --libs").read().split():
+        makefile.extra_libs.append(lib.replace('-l', ''))
 
 def check_vendorid():
     """See if the VendorID library and include file can be found.