db/db.pc

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

     1 prefix=@l_prefix@
     2 exec_prefix=${prefix}
     3 libdir=${exec_prefix}/lib
     4 includedir=${prefix}/include
     6 Name: db
     7 Description: Berkeley-DB Library
     8 Version: @version@
     9 Libs: -L${libdir} @libs@
    10 Cflags: -I${includedir}

mercurial