wok diff kamailio/stuff/patches/Makefile.defs-5.5.4 @ rev 24891

lynx: use ncursesw (tanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 07:20:18 2022 +0000 (2022-04-07)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kamailio/stuff/patches/Makefile.defs-5.5.4	Thu Apr 07 07:20:18 2022 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- src/Makefile.defs.original
     1.5 ++++ src/Makefile.defs
     1.6 +@@ -1893,7 +1893,7 @@
     1.7 + 	endif
     1.8 + 	ifeq ($(CC_NAME), gcc)
     1.9 + 		# link librt for glibc <= 2.17
    1.10 +-		GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' )
    1.11 ++		GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' -e 's|\..*||' )
    1.12 + 		ifeq ($(shell [ $(GLIBCVER) -le 217 ] && echo librt), librt)
    1.13 + 			LIBS+=-lrt
    1.14 + 		endif