You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/gnome-base/gnome-panel/files/gnome-panel-2.32.1-underlin...

43 lines
1.1 KiB

From cd9bd4858f82fc6830c01aa8168bfafab6b6b868 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 15 Oct 2012 23:21:06 -0400
Subject: [PATCH] build: fix underlinking
https://bugs.gentoo.org/show_bug.cgi?id=384533
---
configure.ac | 3 +++
gnome-panel/Makefile.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 3f8c214..da37bd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,9 @@ AC_PROG_LIBTOOL
#AC_PROG_SED available in 2.59b
AM_PROG_CC_C_O
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
AM_PATH_PYTHON
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_PROG(GCONFTOOL, gconftool-2)
diff --git a/gnome-panel/Makefile.am b/gnome-panel/Makefile.am
index a341333..59c5dae 100644
--- a/gnome-panel/Makefile.am
+++ b/gnome-panel/Makefile.am
@@ -134,7 +134,8 @@ gnome_panel_LDADD = \
$(top_builddir)/gnome-panel/libpanel-util/libpanel-util.la \
$(PANEL_LIBS) \
$(XRANDR_LIBS) \
- $(X_LIBS)
+ $(X_LIBS) \
+ $(LIBM)
gnome_panel_LDFLAGS = -export-dynamic
--
1.7.12.3