ramonn 722d8bf10b 2011-11-15 Ramon Novoa <rnovoa@artica.es>
* build.sh, modules/pandora_module_odbc.cc, Makefile.am: Made
	  changes to cross-compile in openSUSE 11.4.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-15 13:10:24 +00:00

14 lines
420 B
Bash
Executable File

#!/bin/bash
# Build the Pandora Agent installer.
# The installer will be placed in ./installer/output/.
# InstallJammer must be installed and in the PATH.
DIST=`lsb_release -i | awk '{print $3}'`
HOST="i586-mingw32msvc"
if [ "$DIST" == "SUSE" ]; then
HOST="i686-w64-mingw32"
fi
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi