On 06/22/2018 03:59 PM, Giulio Moro via Pd-list wrote:
> libola itself may have a number of deps: on my Debian system I get
> 
> $ pkg-config --libs libola
> -L/usr/local/lib -lola -lolacommon -lprotobuf

good point.

> 
> so maybe IOhannes's second line could be amended to:
> 
> $ make -f /usr/share/pd-flext/dev/Makefile.flext ldlibs="$(pkg-config --libs 
> pd-flext) $(pkg-config --libs libola)" SRCDIR=.
> 

you can add multiple packages to a pkg-config query, making both the
command and the resolved library string a bit easier:

$ make -f /usr/share/pd-flext/dev/Makefile.flext ldlibs="$(pkg-config
--libs pd-flext libola)" SRCDIR=.

and really, one should *also* get the cflags from pkgconfig, so the
ideal command would be:

$ make -f /usr/share/pd-flext/dev/Makefile.flext \
   cflags="$(pkg-config --cflags pd-flext libola)" \
   ldlibs="$(pkg-config --libs pd-flext libola)" \
   SRCDIR=.



gfamrds
IOhannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to