flext
flext copied to clipboard
provide pkg-config file for the proper build-flags for externals
it would be great to have a @[email protected] 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
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...
Leaving the issue open until the contribution has been checked on OSX.