aboutsummaryrefslogtreecommitdiff
path: root/src/apps/geod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/geod.cpp')
-rw-r--r--src/apps/geod.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/geod.cpp b/src/apps/geod.cpp
index 35a8e826..6e3f059e 100644
--- a/src/apps/geod.cpp
+++ b/src/apps/geod.cpp
@@ -138,7 +138,8 @@ int main(int argc, char **argv) {
if ((emess_dat.Prog_name = strrchr(*argv,'/')) != nullptr) ++emess_dat.Prog_name;
else emess_dat.Prog_name = *argv;
- inverse = ! strncmp(emess_dat.Prog_name, "inv", 3);
+ inverse = strncmp(emess_dat.Prog_name, "inv", 3) == 0 ||
+ strncmp(emess_dat.Prog_name, "lt-inv", 6) == 0; // older libtool have a lt- prefix
if (argc <= 1 ) {
(void)fprintf(stderr, usage, pj_get_release(),
emess_dat.Prog_name);