mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Add an explicit -lm to the link lines in Makefile.gtk, after two users
reported on the same day that this is now necessary since up-to-date GNU tools won't consider it sufficient to have libm be a dependency of other explicitly referenced libraries if you're directly referring to the contents of libm yourself. [originally from svn r9448]
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user