summaryrefslogtreecommitdiff
path: root/binary/solaris/test/cc-i686-12u2-stlport
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:02:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:02:53 +0200
commit0c0424b4f321a90028b12beb8959de707224e45e (patch)
tree767ffadbd487b00fd092b6f4f950477f5a22720b /binary/solaris/test/cc-i686-12u2-stlport
parentd1b1d1f6b9583cd4fb08fb2995a2209cfdf627d2 (diff)
Add Solaris ODB binary build scripts
Diffstat (limited to 'binary/solaris/test/cc-i686-12u2-stlport')
-rw-r--r--binary/solaris/test/cc-i686-12u2-stlport33
1 files changed, 33 insertions, 0 deletions
diff --git a/binary/solaris/test/cc-i686-12u2-stlport b/binary/solaris/test/cc-i686-12u2-stlport
new file mode 100644
index 0000000..3a93eb2
--- /dev/null
+++ b/binary/solaris/test/cc-i686-12u2-stlport
@@ -0,0 +1,33 @@
+SQLITE=$HOME/sqlite
+MYSQL=$HOME/mysqlclient-5.1.50-solaris10-i386
+PGSQL=$HOME/pgsql-8.4.8
+ORACLE=$HOME/oracle
+BOOST=$HOME/boost-stlport
+
+sqlite_build_options=
+sqlite_use_options=
+
+mysql_build_options=
+mysql_use_options="--with-mysql-host=192.168.0.5 --with-mysql-client=$MYSQL/bin/mysql"
+
+pgsql_build_options=
+pgsql_use_options="--with-pgsql-host=192.168.0.5 --with-pgsql-client=$PGSQL/bin/psql"
+
+oracle_build_options="--with-oci=$ORACLE"
+oracle_use_options="--with-oracle-host=192.168.0.5 --with-oracle-service=xe --with-oracle-client=$ORACLE/sqlplus"
+
+with_qt=n
+with_boost=y
+
+CC=/opt/studio12u2/solstudio12.2/bin/cc
+CXX=/opt/studio12u2/solstudio12.2/bin/CC
+CPPFLAGS="-I$BOOST -I$SQLITE -I$MYSQL/include -I$PGSQL/include"
+CXXFLAGS="-O -library=stlport4"
+LDFLAGS="-library=stlport4 -lCrun -L$BOOST/stage/lib -L$SQLITE -L$MYSQL/lib -L$PGSQL/lib"
+
+export LD_LIBRARY_PATH=$SQLITE:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$MYSQL/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$PGSQL/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$ORACLE:$LD_LIBRARY_PATH
+
+export LD_LIBRARY_PATH=$BOOST/stage/lib:$LD_LIBRARY_PATH