On Thu, 10 Nov 2011, Enlightenment SVN wrote:
> Log: > add libdbus pc include/link correctness for DSO linking. > > > > Author: raster > Date: 2011-11-10 23:14:27 -0800 (Thu, 10 Nov 2011) > New Revision: 65047 > Trac: http://trac.enlightenment.org/e/changeset/65047 > > Modified: > trunk/e_dbus/configure.ac trunk/e_dbus/edbus.pc.in trunk/e_dbus/ehal.pc.in > > Modified: trunk/e_dbus/configure.ac > =================================================================== > --- trunk/e_dbus/configure.ac 2011-11-11 06:26:14 UTC (rev 65046) > +++ trunk/e_dbus/configure.ac 2011-11-11 07:14:27 UTC (rev 65047) > @@ -147,6 +147,11 @@ > > ### Checks for libraries > > +PKG_CHECK_MODULES([DBUS], [dbus-1 >= 0.62]) > +dbus_libs="$DBUS_LIBS" > +dbus_cflags="$DBUS_CFLAGS" > +AC_SUBST(dbus_libs) > +AC_SUBST(dbus_cflags) > PKG_CHECK_MODULES([EDBUS], [ecore >= 1.0.0 eina >= 1.0.0 dbus-1 >= 0.62]) > > # Find out the version of DBUS we're using > > Modified: trunk/e_dbus/edbus.pc.in > =================================================================== > --- trunk/e_dbus/edbus.pc.in 2011-11-11 06:26:14 UTC (rev 65046) > +++ trunk/e_dbus/edbus.pc.in 2011-11-11 07:14:27 UTC (rev 65047) > @@ -7,5 +7,5 @@ > Description: DBus convenience library > @pkgconfig_requires_private@: @requirement_edbus@ > Version: @VERSION@ > -Libs: -L${libdir} -ledbus > -Cflags: -I${includedir}/e_dbus-@VMAJ@ > +Libs: -L${libdir} -ledbus @dbus_libs@ link option for dbus should not be there. what are you trying to fix ? I can see 2 possibilities: 1) Edbus does not wrap completely dbus, hence some dbus API appears in Edbus. In that case, it's Edbus that must be fix and the flag above should be removed 2) EDbus and dbus are used in an application. In that case it's te app that must link to dbus and the addition of the flag above must be removed. Vincent > +Cflags: -I${includedir}/e_dbus-@VMAJ@ @dbus_cflags@ > > Modified: trunk/e_dbus/ehal.pc.in > =================================================================== > --- trunk/e_dbus/ehal.pc.in 2011-11-11 06:26:14 UTC (rev 65046) > +++ trunk/e_dbus/ehal.pc.in 2011-11-11 07:14:27 UTC (rev 65047) > @@ -7,5 +7,5 @@ > Description: Hal convenience library > @pkgconfig_requires_private@: @requirement_ehal@ > Version: @VERSION@ > -Libs: -L${libdir} -lehal > +Libs: -L${libdir} -lehal @edbus_link@ > Cflags: -I${includedir}/e_dbus-@VMAJ@ > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel