[Xfce4-commits] <xfce4-clipman-plugin:master> build-env: Update rules for libclipman.so

Mike Massonnet noreply at xfce.org
Tue Nov 1 17:48:02 CET 2011


Updating branch refs/heads/master
         to 2e6a58e362aed09009eff3e3ab1c633f7f5b5e49 (commit)
       from 4f7af80f24e8e0036d5991eb7ed20def8bba74ee (commit)

commit 2e6a58e362aed09009eff3e3ab1c633f7f5b5e49
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Tue Nov 1 17:46:33 2011 +0100

    build-env: Update rules for libclipman.so
    
    Use new libtool syntax in autoconf script and depend on version 2.2.6.
    Update automake rule for libclipman.la with -avoid-version -module.

 configure.ac.in          |    7 ++++++-
 panel-plugin/Makefile.am |    9 +++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 8b83d14..f62f81b 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -35,6 +35,12 @@ AM_CONFIG_HEADER([config.h])
 AM_MAINTAINER_MODE()
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
+dnl **************************
+dnl *** Initialize libtool ***
+dnl **************************
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
+
 dnl ********************************
 dnl *** Check for basic programs ***
 dnl ********************************
@@ -42,7 +48,6 @@ AC_PROG_CC()
 AM_PROG_CC_C_O()
 AC_PROG_LD()
 AC_PROG_INSTALL()
-AC_PROG_LIBTOOL()
 AC_PROG_INTLTOOL()
 
 dnl **********************************
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 547ff77..78e4527 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -146,6 +146,15 @@ libclipman_la_CFLAGS =							\
 	@LIBXFCE4UI_CFLAGS@						\
 	@LIBXFCE4PANEL_CFLAGS@						\
 	@XFCONF_CFLAGS@							\
+	$(PLATFORM_CFLAGS)						\
+	$(NULL)
+
+libclipman_la_LDFLAGS =							\
+	-avoid-version							\
+	-module								\
+	-no-undefined							\
+	-export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
+	$(PLATFORM_LDFLAGS)						\
 	$(NULL)
 
 libclipman_la_LIBADD =							\


More information about the Xfce4-commits mailing list