sb1 hack
authorRiku Voipio <riku.voipio@nokia.com>
Wed, 9 Sep 2009 13:14:40 +0000 (16:14 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Wed, 9 Sep 2009 13:32:47 +0000 (16:32 +0300)
configure

index 64a0391..54c7146 100755 (executable)
--- a/configure
+++ b/configure
@@ -1329,6 +1329,8 @@ for pthread_lib in $PTHREADLIBS_LIST; do
   fi
 done
 
+
+
 if test "$mingw32" != yes -a "$pthread" = no; then
   echo
   echo "Error: pthread check failed"
@@ -1783,6 +1785,8 @@ fi
 if test "$static" = "yes" ; then
   echo "CONFIG_STATIC=y" >> $config_host_mak
   LDFLAGS="-static $LDFLAGS"
+#scratchbox HACK - we need -lsb after -lpthread
+  LIBS="-L/scratchbox/tools/lib -lsb $LIBS"
 fi
 if test $profiler = "yes" ; then
   echo "CONFIG_PROFILER=y" >> $config_host_mak