Re: Static linking



On Tue, 2003-09-30 at 17:56, Russell Shaw wrote:
How do i get "pkg-config gtk+-2.0 --libs" to put out -static
instead of --export-dynamic ?

Try 

  `pkg-config --libs gtk+-2.0` -static

The explicit "-static" overrides "--export-dynamic".


Johannes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]