[Haskell-cafe] cabal advice: library paths
michael at snoyman.com
Thu Mar 31 09:42:43 CEST 2011
I have a package which uses some system libraries (Qt to be
precise). On Linux (and I'm hoping Mac), it's able to use pkg-config
to determine which libraries are necessary and where to find all the
files. On Windows, I've been less than successful using pkg-config.
However, I *was* able to hardcode in the paths, and the resulting
executables ran without a hitch. I still have two problems:
* Obviously hardcoding paths in less than ideal.
* Hackage won't allow me to upload this package anymore. It complains:
'extra-lib-dirs: c:\qt\2010.05\qt\lib' directory does not exist.
Can anyone recommend a more elegant solution to the problem?
More information about the Haskell-Cafe