
#318: Library cannnot be used when registered in-place on OS X
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version: 1.4.0.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.3 | Platform: Mac OS
----------------------------+-----------------------------------------------
Comment (by duncan):
Ok so here's a technique that should work:
* For non-OSX, use the same behaviour as we always did (ie up to and
including Cabal-1.6)
* For OSX when we have to use ar multiple times (e.g. when doing split-
objs) we call @ar -q@ for the initial calls and for the final call use @ar
-q -s@.
I've had it confirmed that this works on OSX, it supports duplicates and
creates the index.
{{{
Sun Jun 7 19:05:34 BST 2009 Duncan Coutts