diff --git a/download_and_compile.sh b/download_and_compile.sh index a8ddd74..ddd8701 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -956,6 +956,32 @@ if _elementIn "FGFS" "${WHATTOBUILD[@]}" || \ echo "gdb --directory='$CBD/flightgear/src' --args ./fgfs --fg-root=\"\$PWD/../fgdata\" \"\$@\"" >> $SCRIPT chmod 755 $SCRIPT + # Useful for debugging library problems. + SCRIPT=run_ldd.sh + cat >"$SCRIPT" < $SCRIPT echo "cd \"\$(dirname \"\$0\")\"" >> $SCRIPT