Wed, 01 Aug 2012 23:49:03 +0200
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.
michael@174 | 1 | prefix=@l_prefix@ |
michael@174 | 2 | exec_prefix=${prefix} |
michael@174 | 3 | libdir=${exec_prefix}/lib |
michael@174 | 4 | includedir=${prefix}/include |
michael@174 | 5 | |
michael@174 | 6 | Name: openldap |
michael@174 | 7 | Description: OpenLDAP Libraries |
michael@174 | 8 | Version: @version@ |
michael@174 | 9 | Libs: -L${libdir} @libs@ |
michael@174 | 10 | Cflags: -I${includedir} |