wok diff kamailio/stuff/patches/Makefile.defs-5.5.4 @ rev 24905
updated metasploit (5.0.91 -> 6.1.36)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 13:21:57 2022 +0100 (2022-04-09) |
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 Sat Apr 09 13:21:57 2022 +0100 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