wok-current view kamailio/stuff/patches/Makefile.defs-5.5.4 @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (5 months ago) |
parents | |
children |
line source
1 --- src/Makefile.defs.original
2 +++ src/Makefile.defs
3 @@ -1893,7 +1893,7 @@
4 endif
5 ifeq ($(CC_NAME), gcc)
6 # link librt for glibc <= 2.17
7 - GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' )
8 + GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' -e 's|\..*||' )
9 ifeq ($(shell [ $(GLIBCVER) -le 217 ] && echo librt), librt)
10 LIBS+=-lrt
11 endif