diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-09-03 14:23:25 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-09-03 14:23:25 +0000 |
commit | e0c016999132b86f779d2016db3b3402b5f8c13e (patch) | |
tree | c2b90a8213cd55e85f162eb408d6bd853ad4a6d9 | |
parent | 8ae8c24935595cb5fbb6f020092daf61eb87a39b (diff) | |
download | netpbm-mirror-e0c016999132b86f779d2016db3b3402b5f8c13e.tar.gz netpbm-mirror-e0c016999132b86f779d2016db3b3402b5f8c13e.tar.xz netpbm-mirror-e0c016999132b86f779d2016db3b3402b5f8c13e.zip |
Fix bug: failure to recognize .a meaning static library
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@975 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | buildtools/libopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/libopt.c b/buildtools/libopt.c index e0bfde7e..a0bf1cda 100644 --- a/buildtools/libopt.c +++ b/buildtools/libopt.c @@ -310,7 +310,7 @@ parse_filename(const char * const filename, unsigned int prefix_length; bool prefix_good; - if (strcmp(lastdot, "a") == 0) + if (strcmp(lastdot + 1, "a") == 0) *static_p = TRUE; else *static_p = FALSE; |