[Digikam-devel] [Bug 134924] New: Patch to allow compile with LDFLAGS="-Wl, --as-needed"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134924] New: Patch to allow compile with LDFLAGS="-Wl, --as-needed"

David Philippi
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134924         
           Summary: Patch to allow compile with LDFLAGS="-Wl,--as-needed"
           Product: digikam
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: david torangan de


Version:           0.9.0_beta2 (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages
OS:                Linux

I'm using Gentoo and have LDFLAGS="-Wl,--as-needed" activated globablly. Unfortunately digikam didn't compile with it because in digikam/showfoto/Makefile.am the libs are in wrong order. The attached patch fixes the problem without any invasive change.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134924] Patch to allow compile with LDFLAGS="-Wl, --as-needed"

David Philippi
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134924         




------- Additional Comments From david torangan de  2006-09-30 22:53 -------
Created an attachment (id=17974)
 --> (http://bugs.kde.org/attachment.cgi?id=17974&action=view)
The actual patch
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134924] Patch to allow compile with LDFLAGS="-Wl, --as-needed"

Rex Dieter
In reply to this post by David Philippi
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134924         
rdieter math unl edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdieter math unl edu



------- Additional Comments From rdieter math unl edu  2006-10-01 00:59 -------
Doesn't
./configure --enable-new-ldflags
work for this?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 134924] Patch to allow compile with LDFLAGS="-Wl, --as-needed"

Gilles Caulier
In reply to this post by David Philippi
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=134924         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles free fr  2006-10-01 19:59 -------
SVN commit 591098 by cgilles:

digikam from trunk : fix broken compilation under Gentoo.
BUG: 134924

 M  +4 -4      Makefile.am  


--- trunk/extragear/graphics/digikam/showfoto/Makefile.am #591097:591098
 @ -22,9 +22,7  @
 
 showfoto_SOURCES = main.cpp showfoto.cpp
 
-showfoto_LDADD   = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KUTILS) \
-   $(LIB_KFILE) $(LIB_KPARTS) $(LIBJPEG) $(LIB_EXIV2) \
-   $(top_builddir)/digikam/showfoto/setup/libsetup.la \
+showfoto_LDADD   = $(top_builddir)/digikam/showfoto/setup/libsetup.la \
    $(top_builddir)/digikam/libs/widgets/libwidgets.la \
    $(top_builddir)/digikam/libs/dialogs/libdialog.la \
    $(top_builddir)/digikam/libs/imageproperties/libimagepropertiesshowfoto.la \
 @ -33,7 +31,9  @
    $(top_builddir)/digikam/utilities/imageeditor/editor/libdimgeditor.la \
    $(top_builddir)/digikam/utilities/imageeditor/editor/libshowfoto.la \
    $(top_builddir)/digikam/utilities/splashscreen/libsplashscreen.la \
-   $(top_builddir)/digikam/libs/threadimageio/libthreadimageio.la
+   $(top_builddir)/digikam/libs/threadimageio/libthreadimageio.la \
+   $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KUTILS) \
+   $(LIB_KFILE) $(LIB_KPARTS) $(LIBJPEG) $(LIB_EXIV2)
 
 showfoto_LDFLAGS = $(KDE_RPATH) $(all_libraries)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel