[Xapian-tickets] [Xapian] #751: Add `-lrt` to pkg-config if necessary.

Xapian nobody at xapian.org
Fri Jul 21 01:51:23 BST 2017


#751: Add `-lrt` to pkg-config if necessary.
--------------------------+-------------------------------
 Reporter:  mgautier      |             Owner:  olly
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:
Component:  Build system  |           Version:  git master
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------------
Changes (by olly):

 * type:  enhancement => defect
 * component:  Other => Build system


Comment:

 I don't know much about pkg-config, but this doesn't sound right to me -
 the application linked against xapian doesn't need any symbols from librt,
 only the xapian library itself does.

 I think the correct fix is to add:

 {{{
 Libs.private: @XAPIAN_LIBS@
 }}}

 What platform are you seeing this on?  Presumably one without DT_NEEDED or
 equivalent.

--
Ticket URL: <https://trac.xapian.org/ticket/751#comment:1>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list