Skip to content

Instantly share code, notes, and snippets.

@@ -358,6 +358,11 @@
cd "$source_path"
{
+ if [ -n $APXS ]; then
+ _LIBEXECDIR=`$APXS -q LIBEXECDIR`
+ sed -i -e "s|LIBEXECDIR='\$(INSTALL_ROOT)$_LIBEXECDIR'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile
+ fi
+
make