[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with static linking
From: |
Dan Kegel |
Subject: |
Re: Help with static linking |
Date: |
Sat, 1 Jun 2013 17:17:20 -0700 |
On Sat, Jun 1, 2013 at 4:42 PM, Kip Warner <address@hidden> wrote:
> $ pkg-config --libs zziplib
> -Wl,-Bsymbolic-functions -Wl,-z,relro -lzzip -lz
>
> $ pkg-config --static --libs zziplib
> -Wl,-Bsymbolic-functions -Wl,-z,relro -lzzip -lz
Aw, foo. I was under the misapprehention that --static would cause
pkgconfig to reference the .a files. I've clearly been spending
too much time in cmake-land.
I don't suppose you've tried passing absolute paths to the .a files?
- Dan