From a17b97d1fb818c841a3121e5f7eaabdef17e3cf4 Mon Sep 17 00:00:00 2001 From: Victor Bogado <victor@bogado.net> Date: Thu, 11 Mar 2010 16:49:35 -0300 Subject: [PATCH] Adds -lX11 and -lm to the libraries. gtk.c uses XSetProperty that belongs in the X11 lib that was not included. --- mkfiles.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mkfiles.pl b/mkfiles.pl index 7f36f8f..e8a23cd 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -1111,7 +1111,7 @@ if (defined $makefiles{'gtk'}) { &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " . (join " ", map {"-I$dirpfx$_"} @srcdirs) . " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n". - "XLIBS = `\$(GTK_CONFIG) --libs`\n". + "XLIBS = -lm -lX11 `\$(GTK_CONFIG) --libs`\n". "ULIBS =#\n". "INSTALL=install\n", "INSTALL_PROGRAM=\$(INSTALL)\n", -- 1.6.6.1