You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/debian/patches/debian/no_lib64_on_64_bits.patch

30 lines
657 B

From: Sipwise Development Team <support@sipwise.com>
Date: Thu, 26 Mar 2020 10:06:45 +0100
Subject: no_lib64_on_64_bits
---
src/Makefile.defs | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/Makefile.defs b/src/Makefile.defs
index c598d6c..02788de 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -458,15 +458,7 @@ endif
$(info target architecture <$(ARCH)>, host architecture <$(HOST_ARCH)>)
-LIBDIR ?=
-ifeq ($(LIBDIR),)
-ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
-ifeq ($(ARCHBSZ),64b)
- LIBDIR = lib64
-else
- LIBDIR = lib
-endif
-endif
+LIBDIR = lib
# dirs
cfg_dir = etc/$(MAIN_NAME)/