[Hackage] #216: need a way to specify the foreign libraries a package depends on

Hackage trac at galois.com
Thu Jun 19 09:35:21 EDT 2008


#216: need a way to specify the foreign libraries a package depends on
----------------------------------+-----------------------------------------
  Reporter:  ross at soi.city.ac.uk  |        Owner:           
      Type:  enhancement          |       Status:  new      
  Priority:  normal               |    Milestone:  Cabal-1.6
 Component:  Cabal library        |      Version:  1.2.3.0  
  Severity:  major                |   Resolution:           
  Keywords:                       |   Difficulty:  normal   
Ghcversion:  6.8.2                |     Platform:  Linux    
----------------------------------+-----------------------------------------
Comment (by duncan):

 Do we really need this? I'm not sure we do.

 We can already specify that we need C libs and headers (and frameworks and
 pkg-config packages). Do we also need to be able to specify the native
 packages that provide those C libs and headers?

 When we make native packages from cabal packages we can derive which other
 native packages provide the C libs and headers. For example if we have
 `extra-libraries: z` then the cabal->native tool just asks the package
 manager which package provides the file `/usr/lib/libz.so`. Obviously this
 is system-specific.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/216#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list