diff options
| author | Petr Mrázek | 2011-08-14 08:42:21 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-08-14 08:42:21 +0200 |
| commit | a0f99ef7079bb741dcfa44b7365e3b13f3ec9016 (patch) | |
| tree | 6c2cb7419868999914e8514a3e7bc8f5f755f447 /package | |
| parent | 02ea81c0b32a50f18497e2c4d99c005ae6f0e5d0 (diff) | |
| download | dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.gz dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.bz2 dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.xz | |
Many tweaks to plugins, reorganized the build system and removed more cruft.
Diffstat (limited to 'package')
| -rwxr-xr-x | package/linux/dfhack | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/linux/dfhack b/package/linux/dfhack index da70301d..8ed9ee81 100755 --- a/package/linux/dfhack +++ b/package/linux/dfhack @@ -38,28 +38,28 @@ fi case "$1" in -g | --gdb) shift - echo "set environment LD_PRELOAD=./libdfhack.so" > gdbcmd.tmp + echo "set environment LD_PRELOAD=./hack/libdfhack.so" > gdbcmd.tmp gdb $DF_GDB_OPTS -x gdbcmd.tmp ./libs/Dwarf_Fortress $* rm gdbcmd.tmp ret=$? ;; -h | --helgrind) shift - LD_PRELOAD=./libdfhack.so setarch i386 -R valgrind $DF_HELGRIND_OPTS --tool=helgrind --log-file=helgrind.log ./libs/Dwarf_Fortress $* + LD_PRELOAD=./hack/libdfhack.so setarch i386 -R valgrind $DF_HELGRIND_OPTS --tool=helgrind --log-file=helgrind.log ./libs/Dwarf_Fortress $* ret=$? ;; -v | --valgrind) shift - LD_PRELOAD=./libdfhack.so setarch i386 -R valgrind $DF_VALGRIND_OPTS --log-file=valgrind.log ./libs/Dwarf_Fortress $* + LD_PRELOAD=./hack/libdfhack.so setarch i386 -R valgrind $DF_VALGRIND_OPTS --log-file=valgrind.log ./libs/Dwarf_Fortress $* ret=$? ;; -c | --callgrind) shift - LD_PRELOAD=./libdfhack.so setarch i386 -R valgrind $DF_CALLGRIND_OPTS --tool=callgrind --separate-threads=yes --dump-instr=yes --instr-atstart=no --log-file=callgrind.log ./libs/Dwarf_Fortress $* + LD_PRELOAD=./hack/libdfhack.so setarch i386 -R valgrind $DF_CALLGRIND_OPTS --tool=callgrind --separate-threads=yes --dump-instr=yes --instr-atstart=no --log-file=callgrind.log ./libs/Dwarf_Fortress $* ret=$? ;; *) - LD_PRELOAD=./libdfhack.so setarch i386 -R ./libs/Dwarf_Fortress $* + LD_PRELOAD=./hack/libdfhack.so setarch i386 -R ./libs/Dwarf_Fortress $* ret=$? ;; esac |
