summarylogtreecommitdiffstats
path: root/libdirs.patch
blob: 08d49731c77eb06ea2fde9855477f0eac61b52ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ur a/Makefile.common.footer b/Makefile.common.footer
--- a/Makefile.common.footer	2025-10-15 11:02:14.275975113 -0500
+++ b/Makefile.common.footer	2025-10-15 11:02:19.024992800 -0500
@@ -260,15 +260,8 @@
 $(if $(PY3_MODULE_PATH),,$(error "Couldn't find the python3 module path!"))
 endif
 
-USE_DEBIAN_PATHS := $(wildcard /etc/debian_version)
-ifneq (,$(USE_DEBIAN_PATHS))
-  # we're a debian-ish box, use the multiarch dir
-  USRLIB = usr/lib/$(DEB_HOST_MULTIARCH)
-else
-  # we're something else. Do what CentOS does.
-  # If /usr/lib64 exists, use that. Otherwise /usr/lib
-  USRLIB := $(if $(wildcard /usr/lib64),usr/lib64,usr/lib)
-endif
+# Arch uses /usr/lib
+USRLIB := usr/lib
 
 endif