logo       

[ ghc-Bugs-1083852 ] ghc-pkg ignores library dirs: msg#00029

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1083852 ] ghc-pkg ignores library dirs

Bugs item #1083852, was opened at 2004-12-12 13:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1083852&group_id=8032

Category: Driver
Group: 6.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Simon (as49)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-pkg ignores library dirs

Initial Comment:
Hi,

I'm installing several packages in sequence. The first
package specified /usr/local/lib in the library_dirs
field. The .o file is built correctly. The next package
depends on the first package. To reduce the size of the
command line of any build with the second package, I
filter out all flags that are already in the first
package. Doing this, the .o file of the second package
cannot be built since ghc-pkg does not include the
library path of the first package when it searches for
the .a file.

I think that adding only those flags that are needed in
addition to some other dependent package is a
reasonable thing to do, so I would like to see ghc-pkg
search on the library paths of all dependant packages.

Thanks,
Axel.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1083852&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise