[Fwd: CVS HEAD: kdelibs/kdecore/svgicons don't link + little PATCH]

Hans Meine hans_meine at gmx.net
Mon Apr 22 19:04:23 BST 2002


Hi!

I experienced the same problem here (mdk8.1), g++ wants to link
/usr/lib/libqt.so.2 in this directory. I can't comment on the patch
since I repaired it in another way, but I guessed sth. along those
lines would be needed.

fenix <fenix at club-internet.fr> writes:
> From:
> Hi,
>  with a recent update svgicons (newly added???) won't link with qt ;(

[snip]
 
> with my little patch to Makefile.am who define ksvgtopng_LDFLAGS
> svgicons link without any problem 
> 
> this patch must be reviewed (its only a Copy from kdefx Makefile.am)
> 
>  FeniX
> Index: Makefile.am
> ===================================================================
> RCS file: /home/kde/kdelibs/kdecore/svgicons/Makefile.am,v
> retrieving revision 1.1
> diff -u -r1.1 Makefile.am
> --- Makefile.am	7 Apr 2002 16:43:41 -0000	1.1
> +++ Makefile.am	9 Apr 2002 19:35:38 -0000
> @@ -9,5 +9,6 @@
>  
>  bin_PROGRAMS = ksvgtopng
>  ksvgtopng_SOURCES = ksvgtopng.cpp
> +ksvgtopng_LDFLAGS = $(KDE_RPATH) $(KDE_MT_LDFLAGS) $(all_libraries) -no-undefined -version-info 4:0
>  ksvgtopng_LDADD = libkdesvgicons.la $(LIB_QT) $(all_libraries)

-- 
Ciao,  /  /
      /--/
     /  / ANS




More information about the kde-core-devel mailing list