[geany/geany] 818726: Link export plugin against libm (-lm)

Chow Loong Jin git-noreply at xxxxx
Thu Jun 21 14:03:20 UTC 2012

Branch:      refs/heads/master
Author:      Chow Loong Jin <hyperair at debian.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 21 Jun 2012 14:03:20
Commit:      8187268ad0ee3c51f85acf3cbfa49f8ec0ab5dc2

Log Message:
Link export plugin against libm (-lm)

The export plugin uses the pow() function from libm without linking against
it. It has worked so far because Geany itself has a link against libm, but
should that be removed in the future, this would fail to resolve symbols.

Signed-off-by: Chow Loong Jin <hyperair at debian.org>
Signed-off-by: Colomban Wendling <ban at herbesfolles.org>

Modified Paths:

Modified: plugins/Makefile.am
2 files changed, 1 insertions(+), 1 deletions(-)
@@ -94,7 +94,7 @@ splitwindow_la_CFLAGS   = -DG_LOG_DOMAIN=\""SplitWindow"\"
 demoplugin_la_LIBADD    = $(GTK_LIBS)
 classbuilder_la_LIBADD  = $(GTK_LIBS)
 htmlchars_la_LIBADD     = $(GTK_LIBS)
-export_la_LIBADD        = $(GTK_LIBS)
+export_la_LIBADD        = $(GTK_LIBS) -lm
 saveactions_la_LIBADD   = $(GTK_LIBS)
 filebrowser_la_LIBADD   = $(GTK_LIBS)
 splitwindow_la_LIBADD   = $(GTK_LIBS)

@@ Diff output truncated at 100000 characters. @@

This E-Mail was brought to you by github_commit_mail.py (Source: TBD).

More information about the Commits mailing list