Package: kamailio / 5.2.1-1

no_lib64_on_64_bits.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: don't try to install to lib64
Author: Victor Seva <linuxmaniac@torreviejawireless.org>

--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -384,15 +384,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)/