point to pkgconfig content in /opt/cortex so stlink stuff works
authorBdale Garbee <bdale@gag.com>
Mon, 29 Apr 2013 23:06:57 +0000 (17:06 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 29 Apr 2013 23:06:57 +0000 (17:06 -0600)
autogen.sh

index 4e8b11ba9abd526410e44eb3a6264969e5657f5a..c838c5b38c48421564bd1f3cafe08d09897caae8 100755 (executable)
@@ -9,4 +9,5 @@ cd $srcdir
 autoreconf --force -v --install || exit 1
 cd $ORIGDIR || exit $?
 
 autoreconf --force -v --install || exit 1
 cd $ORIGDIR || exit $?
 
-$srcdir/configure --enable-maintainer-mode "$@"
+PKG_CONFIG_PATH=/opt/cortex/lib/pkgconfig \
+       $srcdir/configure --enable-maintainer-mode "$@"