JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Making surf compile again with rt.
authorChristoph Lohmann <20h@r-36.net>
Mon, 30 Jun 2014 15:33:43 +0000 (17:33 +0200)
committerChristoph Lohmann <20h@r-36.net>
Mon, 30 Jun 2014 15:33:43 +0000 (17:33 +0200)
The clock_gettime patch needs librt to be linked to surf.

Thanks _odie for the hint.

config.mk

index 6d90f86..298484e 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -14,7 +14,7 @@ X11LIB = /usr/X11R6/lib
 INCS = -I. -I/usr/include -I${X11INC} \
        `pkg-config --cflags fontconfig` \
        `pkg-config --cflags freetype2`
-LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lX11 -lutil -lXext -lXft \
+LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
        `pkg-config --libs fontconfig`  \
        `pkg-config --libs freetype2`