Problems with openchange libs

Brad Hards bradh at frogmouth.net
Tue Dec 2 13:13:55 CET 2008


On Tuesday 02 December 2008 09:49:04 pm Thiago Macieira wrote:
> On Tuesday 02 December 2008 11:18:02 Brad Hards wrote:
> > bradh at kubuntu10:~$ pkg-config --cflags-only-I libmapi
> > -I/usr/local/samba/include
> > bradh at kubuntu10:~$ pkg-config --cflags-only-other libmapi
> > -g -O2 -DHAVE_IMMEDIATE_STRUCTURES=1
> > bradh at kubuntu10:~$ pkg-config --libs-only-L libmapi
> > -L/usr/local/samba/lib
> > bradh at kubuntu10:~$ pkg-config --libs-only-l libmapi
> > -lz -lmapi -ldcerpc -lldb -lndr -lsamba-hostconfig -ltalloc
> > bradh at kubuntu10:~$ pkg-config --libs-only-other libmapi
>
> That pkgconfig file looks just plain broken to me. That's an upstream
> issue.
I can fix part of it. What would you like libmapi.pc.in to say?

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
datarootdir=@prefix@/share
datadir=@datadir@

Name: MAPI
Description: MAPI Protocol Implementation
Version: @PACKAGE_VERSION@
Libs: @LIBS@ -lmapi
Cflags: @CFLAGS@
Requires: talloc dcerpc ndr samba-hostconfig ldb

> The -g and -O2 flags should never have appeared there. Those are build
> flags, nothing changing the ABI/API or the use of the library.
So just omit?

Brad






More information about the Kde-buildsystem mailing list