Skip to content

Commit 47cf5ce

Browse files
author
Thomas Nagy
committed
Issue 1552 - attempt to fix the installation path regression on 32-bit Ubuntu caused by Issue 1536
1 parent cb2f3ff commit 47cf5ce

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

waflib/Utils.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,8 @@ def get_registry_app_path(key, filename):
725725
def lib64():
726726
# default settings for /usr/lib
727727
if os.sep == '/':
728-
is_64 = platform.architecture()[0] == '64bit'
729-
if os.path.exists('/usr/lib64') and not os.path.exists('/usr/lib32'):
730-
# redhat
731-
return '64' if is_64 else ''
732-
else:
733-
return '' if is_64 else '32'
728+
if platform.architecture()[0] == '64bit':
729+
if os.path.exists('/usr/lib64') and not os.path.exists('/usr/lib32'):
730+
return '64'
734731
return ''
735732

0 commit comments

Comments
 (0)