https://bugs.openldap.org/show_bug.cgi?id=9229

            Bug ID: 9229
           Summary: Make liblutil usable by libldap
           Product: OpenLDAP
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

liblutil is a static library (non-PIC) and so cannot be linked into shared
objects, however we have several use cases for reusing its code in libldap.

Some options:

- moving more code from liblutil to libldap
  - just merge the whole thing?
  - are there components that link liblutil but _not_ libldap?
- build liblutil as PIC (take a minor performance hit when linked into
programs?)
- build liblutil twice (liblutil.a and liblutil_pic.a)
- symlink liblutil sources into libldap build dir, like libldap_r does with
libldap
  - both of these last options require checking whether executables can call
the PIC symbols safely (if some symbols are used by both library and program
code)

Nice-to-have for 2.5, I'd say more likely for 2.6 at this point.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to