$ grep whole-archive /usr/local/lib/pkgconfig/*
/usr/local/lib/pkgconfig/libsigrok.pc:Libs: -L${libdir} -Wl,--whole-archive
-lsigrok -Wl,--no-whole-archive
I have lots of other packages in there, nobody else has whole-archive turned on.
I just removed whole-archive and no-whole-archive from the .pc file and the
“brew install” of sigrok-cli linked and installed. Still don’t know why that
was in there.
- James
clang’s force_load is only for static libraries so it’s not quite the same.
> On May 19, 2016, at 5:55 PM, James Burgess <[email protected]> wrote:
>
> This is a fully up to date 10.11 machine (Xcode 7.3.1). Seems like the
> configure is getting confused and using a gcc linker option instead of a
> clang one:
>
> $ brew install --HEAD --with-libserialport sigrok-cli
> ...
> ld: unknown option: --whole-archive
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [sigrok-cli] Error 1
>
> I’ll see if I can switch to compiling from git by hand and see if I can
> figure out what is getting that wrong.
>
> - James
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel