fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Trouble Linking to Static Libraries


From: Tom M.
Subject: Re: [fluid-dev] Trouble Linking to Static Libraries
Date: Sun, 28 Jul 2019 13:14:38 +0200

Thanks for the report. However I'm afraid, we cannot simply link against the 
private dependencies of the libraries that we depend on. Most users link 
against shared libraries. Always including e.g. LIBSNDFILE_STATIC_LIBRARIES 
would result in unnecessary dependencies like FLAC and OGG/Vorbis that are hard 
to fulfill esp. for windows users who just downloaded the prebuilt libsndfile 
from mega-nerd.

On the other hand, there doesn't really seem to be a way to influence pkgconfig 
whether it found static or shared libs. Hence we cannot know when to use the 
special STATIC_LIBRARIES flag.

Also, getting the private dependencies of readline correct is tricky, because 
readline does not provide a pkgconfig file.

I currently don't see how to solve this, sry.


Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]