grrrr/flext

provide pkg-config file for the proper build-flags for externals

umlaeute opened this issue · 4 comments

it would be great to have a @SYSTEM@-flext.pc file (or similar), that outputs the proper CFLAGS and LIBS for dynamically linking with flext on @System@.

e.g.

 $ pkg-config --cflags pd-flext
 -I/usr/local/include/flext -DPD -DFLEXT_SHARED
 $ pkg-config --libs pd-flext
 -lflext-pd

lower priority: pkg-config also has a --static flags that outputs flags for static linking:

 $ pkg-config --static --cflags pd-flext
 -I/usr/local/include/flext -DPD
 $ pkg-config --static --libs pd-flext
 -lflext-pd_s
grrrr commented

I am inexperienced with this, could you provide a first version that i shall refine?

yep. but not today :-)

it also seems that the --static just won't work as expected...

grrrr commented

Leaving the issue open until the contribution has been checked on OSX.