[gthumb] always pass --as-needed to the linker



commit 63ee796c3f956de3069d3511d4330daebcb06d60
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Mar 1 18:19:45 2011 +0100

    always pass --as-needed to the linker

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 59e650e..bc91034 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,7 @@ LIBBRASERO_REQUIRED=2.28
 dnl ===========================================================================
 
 CFLAGS=${CFLAGS-:""}
+CFLAGS="$CFLAGS -Wl,--as-needed"
 
 AC_ARG_ENABLE(deprecated,
 	      AS_HELP_STRING([--disable-deprecated], [do not use deprecated API]),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]