From d94f66821360c249cb965e8e9aafc4323425e4a6 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 4 Jul 2016 15:57:49 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1685aa..e626ae8 100644 --- a/README.md +++ b/README.md @@ -28,4 +28,11 @@ $ sudo make install ``` $ sudo ldconfig -v ``` -That's it. +That's it – the library can now be linked to via `pkg-config`: the module name is `alac`, thus: +``` +PKG_CHECK_MODULES([ALAC], [alac], [LIBS="${ALAC_LIBS} ${LIBS}"]) +``` +should work. If you are using `AC_CHECK_LIB`, something like this will work: +``` +AC_CHECK_LIB([alac], [BitBufferInit], , AC_MSG_ERROR(Apple ALAC Decoder support requires the alac library!)) +```