From 6221fac26cd348251fb26a7c0c4bdf5e2f0886bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 1 Nov 2012 20:41:23 +0100 Subject: Fix libgcc library detection Fix QT directories detection Thanks to Francois Andriot --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index e027f73..2d4bd2f 100755 --- a/setup.py +++ b/setup.py @@ -126,7 +126,7 @@ class BuildLibpythonize(Command): # Find the C library (libgcc, libgcc_s or some other variation). if self.clib is None: - canidatepaths = ["/usr/"+kdedistutils.get_libdir_name(), "/usr/local/"+kdedistutils.get_libdir_name() ] + canidatepaths = ["/usr/"+kdedistutils.get_libdir_name(), "/usr/local/"+kdedistutils.get_libdir_name(), "/usr/lib" ] self.clib = kdedistutils.FindFileInPaths("libgcc*.so",canidatepaths) if self.clib!=None: self.clib = glob.glob(os.path.join(self.clib,'libgcc*.so'))[0] -- cgit v1.2.1