summarylogtreecommitdiffstats
path: root/libdirs.patch
blob: 65133ecddfa7800d35b9fe35aacba07ae8798b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ur a/Makefile.common.footer b/Makefile.common.footer
--- a/Makefile.common.footer	2024-01-02 02:30:39.000000000 -0600
+++ b/Makefile.common.footer	2024-02-11 23:41:27.397573558 -0600
@@ -257,16 +257,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
-  DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
-  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