Browse Source

* Also recognize mingw gdb on -D__USE_MINGW_ACCESS option

git-svn-id: trunk@16319 -
pierre 14 years ago
parent
commit
041720e285
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/gdbint/gen-gdblib-inc.sh

+ 3 - 0
packages/gdbint/gen-gdblib-inc.sh

@@ -134,6 +134,9 @@ BEGIN {
     use_mingw=1
     }
   }
+  if ( list[i] ~ /-D__USE_MINGW_/ ) {
+    use_mingw=1
+  }
   if ( list[i] ~ /lib[^ ]*\.so/ ) {
     dynamiclib = gensub (/([^ ]*)(lib[^ ]*\.so)/,"{$LINKLIB \\2} { found in \\1 }","g",list[i]);
     librarypath = gensub (/([^ ]*)(lib[^ ]*\.so)/,"{$LIBRARYPATH \\1} { for \\2 }","g",list[i]);