Commit 98d977b7 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

pkg-config template for dynamic linking

i haven't found a way yet to have static linking (--static) output
*different* LIBS/CFLAGS (rather than just adding some to the dynamic flags)

the file also contains stubs for static linking and inline compilation.
to use these, we ought to create multiple .pc files... :-(
parent 0ca66733
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/flext
Name: pd-flext
Description: C++ glue layer for Pure Data and Max
Version: @VERSION@
Cflags: -I${includedir} -DPD -DFLEXT_SHARED
Libs: -L${libdir} -lflext-pd
## sections below ought to be factored out into standalone .pc files
#Name: pd-flext-static
#Description: C++ glue layer for Pure Data and Max (static)
#Version: @VERSION@
#Cflags: -I${includedir} -DPD
#Libs: -L${libdir} -lflext-pd_s
#
#Name: pd-flext-inline
#Description: C++ glue layer for Pure Data and Max (inline)
#Version: @VERSION@
#Cflags: -I${includedir} -DPD -DFLEXT_INLINE
#Libs:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment