[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Supporting GNU ld's --as-needed flag
From: Szombathelyi "György" <gyurco () freemail ! hu>
Date: 2004-11-06 23:51:26
Message-ID: 200411070051.26780.gyurco () freemail ! hu
[Download RAW message or body]
> >
> > OK applied now.
>
> Thanks, but... Coolo's patch disabled it. LDFLAGS_AS_NEEDED doesn't passed
> to libtool/compiler/linker anywhere. Now it should be added to all
> Makefile.ams? I think it will be a nightmare.
>
I think I found the problem, the K_PATH_X macro cleared the all_libraries
variable. Here's a patch which fixes the problem.
____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
["acinclude.diff" (text/x-diff)]
Index: acinclude.m4.in
===================================================================
RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
retrieving revision 2.475
diff -u -p -u -r2.475 acinclude.m4.in
--- acinclude.m4.in 6 Nov 2004 14:11:26 -0000 2.475
+++ acinclude.m4.in 6 Nov 2004 23:50:35 -0000
@@ -979,7 +979,7 @@ if test -z "$kde_x_libraries" || test "x
X_LDFLAGS="-L$x_libraries"
fi
all_includes="$X_INCLUDES"
-all_libraries="$X_LDFLAGS"
+all_libraries="$X_LDFLAGS $all_libraries"
# Check for libraries that X11R6 Xt/Xaw programs need.
ac_save_LDFLAGS="$LDFLAGS"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic