Reverse an old Debian-specific patch that prevents building on

some 64-bit systems. Add text to help with basic debugging.
(cherry picked from commit 32d597f993)
v3.5.13-sru
Darrell Anderson 13 years ago committed by Slávek Banko
parent 5ff1926d8b
commit 1eae8d3381

@ -135,7 +135,7 @@ class BuildLibpythonize(Command):
if self.clib!=None:
self.clib = glob.glob(os.path.join(self.clib,'libgcc*.a'))[0]
if self.clib is None:
raise SystemExit, "Failed to find a suitable libgcc library"
raise SystemExit, "setup.py: Failed to find a suitable libgcc library"
self.announce("Using %s for clib" % self.clib)
# Make a list of places to look for python .so modules

@ -643,7 +643,7 @@ class BuildKControlModule(Command):
if self.clib!=None:
self.clib = glob.glob(os.path.join(self.clib,'libgcc*.a'))[0]
if self.clib is None:
raise SystemExit, "Failed to find a suitable libgcc library"
raise SystemExit, "kdedistutils.py (1): Failed to find a suitable libgcc library"
self.announce("Using %s for clib" % self.clib)
# Make a list of places to look for python .so modules
@ -1558,7 +1558,7 @@ class BuildKioslave(Command):
if self.clib!=None:
self.clib = glob.glob(os.path.join(self.clib,'libgcc*.a'))[0]
if self.clib is None:
raise SystemExit, "Failed to find a suitable libgcc library"
raise SystemExit, "kdedistutils.py (2): Failed to find a suitable libgcc library"
self.announce("Using %s for clib" % self.clib)
# Make a list of places to look for python .so modules
@ -2196,7 +2196,7 @@ def compile_qtdesigner(ui_files,
###########################################################################
def get_libdir_name():
#if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
# return 'lib64'
#else:
if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']:
return 'lib64'
else:
return 'lib'

Loading…
Cancel
Save