I am currently making a package for libhid (http://
libhid.alioth.debian.org/) which depends on libusb. The libusb build
flags are causing an error related to pkgconfig so I currently have a
kludge to work around this.
Here's the error:
Validating .deb dir root-libhid0-0.2.16-1...
Error: The -Wl,-framework flag may get munged by pkg-config. See the
gcc manpage for information about passing options to flags for
specific compiler passes.
Offending file: /sw/lib/pkgconfig/libhid.pc
Offending line: Libs: -L/sw/lib -lusb -Wl,-framework -
Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind -L${libdir} -
lhid
Here's the source of the -Wl,... flags:
[EMAIL PROTECTED] > libusb-config --libs
-L/sw/lib -lusb -Wl,-framework -Wl,IOKit -Wl,-framework -
Wl,CoreFoundation -Wl,-prebind
I've never used/seen these -Wl,-framework, etc, flags before. Anyone
know why they can't just be -framework IOKit -framework
CoreFoundation? Ideally this would be fixed with the libusb package
rather than a kludge in the libhid package.
.hc
------------------------------------------------------------------------
----
Access to computers should be unlimited and total. - the hacker ethic
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel