[hackers] [st] Making surf compile again with rt. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Mon, 30 Jun 2014 17:35:11 +0200

commit 0015e198bfceae50a55403ad1339345340f4dcc0
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon Jun 30 17:33:43 2014 +0200

    Making surf compile again with rt.
    
    The clock_gettime patch needs librt to be linked to surf.
    
    Thanks _odie for the hint.

diff --git a/config.mk b/config.mk
index 6d90f86..298484e 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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`
 
Received on Mon Jun 30 2014 - 17:35:11 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 30 2014 - 17:36:07 CEST