summaryrefslogtreecommitdiff
path: root/volk/config
diff options
context:
space:
mode:
Diffstat (limited to 'volk/config')
-rw-r--r--volk/config/orc.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/volk/config/orc.m4 b/volk/config/orc.m4
index fa48b10df..7845a940c 100644
--- a/volk/config/orc.m4
+++ b/volk/config/orc.m4
@@ -26,8 +26,11 @@ AC_DEFUN([ORC_CHECK],
fi
AC_SUBST(ORCC)
ORCC_FLAGS="--compat $ORC_REQ"
- ORC_LDFLAGS="-lorc-0.4"
+ ORC_LDFLAGS=`$PKG_CONFIG --libs orc-0.4`
+ ORC_CFLAGS=`$PKG_CONFIG --cflags orc-0.4`
AC_SUBST(ORCC_FLAGS)
+ AC_SUBST(ORC_LDFLAGS)
+ AC_SUBST(ORC_CFLAGS)
HAVE_ORC=yes
HAVE_ORCC=yes
if test "x$cross_compiling" = "xyes" ; then