Author: wyoung
Date: Wed Nov 28 07:10:54 2007
New Revision: 1910

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1910&view=rev
Log:
- Taught exrun about another tool, ldd, useful for debugging dynamic
  linkage bugs
- Recent OS X changes for exrun broke Linux.  New tool enabled fix.

Modified:
    trunk/exrun

Modified: trunk/exrun
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun?rev=1910&r1=1909&r2=1910&view=diff
==============================================================================
--- trunk/exrun (original)
+++ trunk/exrun Wed Nov 28 07:10:54 2007
@@ -25,6 +25,11 @@
        TOOL='gdb --args'
        shift
        PROG=$1
+elif [ "$PROG" == 'ldd' ]
+then
+       TOOL='ldd'
+       shift
+       PROG=$1
 fi
 
 if [ -n "$1" ]
@@ -39,7 +44,6 @@
                cmd.exe /c exrun.bat $PROG $*
        elif [ -e /usr/bin/ldd ]
        then
-               ln -sf libmysqlpp.so libmysqlpp.so.2
                LD_LIBRARY_PATH=. $TOOL ./$PROG $*
        else
                echo "ERROR: I don't grok this system's dynamic linkage system."


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to