Opened 10 years ago

Closed 10 years ago

#309 closed enhancement (fixed)

cleanup proposal: avoid using .libs in

Reported by: jinmei Owned by: jreed
Priority: low Milestone: y2 6 month milestone
Component: build system Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 3.0 Add Hours to Ticket: 0
Total Hours: 2.0 Internal?: no


Currently, we statically link bind10 programs by specifying .libs/*.a in

We should allow them to use dynamic links. Even if we prefer static links, it's probably not a good practice to refer to .libs/* directly; we should use a linker option.


Change History (3)

comment:1 Changed 10 years ago by jinmei

  • Add Hours to Ticket changed from 0.0 to 0.5
  • Total Hours changed from 0.0 to 0.5

comment:2 Changed 10 years ago by jinmei

branches/trac309 is ready for review.

I used this opportunity to introduce another cleanup: use a separate "tests" directory for unit tessts. This is actually not just for consistency: when --enable-static-link is specified we want use static link only for programs and still create dynamic libraries. Separating directories makes this easier.

Proposed ChangeLog entry is:

  85.?	[build]*	jinmei
	Build programs using dynamic link by default.  A new configure
	option --enable-static-link is provided to using static link for
	executable programs.  Statically linked programs can be run on a
	debugger more easily and would be convenient for developers.
	(Trac #309, svn rTBD)

This is okayed on jabber by Jeremy, so I'm going to merge this to trunk.

comment:3 Changed 10 years ago by jinmei

  • Add Hours to Ticket changed from 0.0 to 1.5
  • Resolution set to fixed
  • Status changed from new to closed
  • Total Hours changed from 0.5 to 2.0

merged (r2723). closing ticket.

Note: See TracTickets for help on using tickets.