Browse Source

Fixed where microhttpd goes

msmith-techempower 10 years ago
parent
commit
499eef98ae
1 changed files with 3 additions and 2 deletions
  1. 3 2
      toolset/setup/linux/webservers/microhttpd.sh

+ 3 - 2
toolset/setup/linux/webservers/microhttpd.sh

@@ -12,9 +12,10 @@ MICROHTTPD_HOME=$MICROHTTPD-$VERSION
 fw_get -O http://mirror.ibcp.fr/pub/gnu/libmicrohttpd/libmicrohttpd-$VERSION.tar.gz
 fw_get -O http://mirror.ibcp.fr/pub/gnu/libmicrohttpd/libmicrohttpd-$VERSION.tar.gz
 fw_untar libmicrohttpd-$VERSION.tar.gz
 fw_untar libmicrohttpd-$VERSION.tar.gz
 cd libmicrohttpd-$VERSION
 cd libmicrohttpd-$VERSION
-./configure --prefix=$IROOT
+./configure --prefix=$MICROHTTPD_HOME
 make install
 make install
 
 
-echo "" > $IROOT/microhttpd.installed
+echo "export MICROHTTPD_HOME=${MICROHTTPD_HOME}" > $IROOT/microhttpd.installed
+echo -e "export PATH=${MICROHTTPD_HOME}/bin:\$PATH" >> $IROOT/microhttpd.installed
 
 
 source $IROOT/microhttpd.installed
 source $IROOT/microhttpd.installed