blob: 06493cc0dbaa2289b7da5e043a7a02bb045a749b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/mkfiles.pl b/mkfiles.pl
index 5bb0d39..cdd8260 100755
--- a/mkfiles.pl
+++ b/mkfiles.pl
@@ -1118,8 +1118,8 @@ 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".
- "ULIBS =#\n".
+ "XLIBS = `\$(GTK_CONFIG) --libs` -lm\n".
+ "ULIBS = -lm#\n".
"INSTALL=install\n",
"INSTALL_PROGRAM=\$(INSTALL)\n",
"INSTALL_DATA=\$(INSTALL)\n",
|