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@debian.org --- plugins/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 88a6eba..b0be4e8 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -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)
Le 21/06/2012 10:06, Chow Loong Jin a écrit :
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@debian.org
plugins/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 88a6eba..b0be4e8 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -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)
Applied, thanks.