diff options
author | Gary V. Vaughan <gary@gnu.org> | 1999-03-17 14:52:38 +0000 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 1999-03-17 14:52:38 +0000 |
commit | 9b51a17e292d87c70dc29b5a903d1c699dff599a (patch) | |
tree | 1e00ed032fe958914781bc5dbfa381979988dfa4 | |
parent | c966fc79f4c89c195e63ee56969ab308fac77417 (diff) | |
download | libtool-9b51a17e292d87c70dc29b5a903d1c699dff599a.tar.gz |
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library
in a directory which has no libs of its own.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | ltconfig.in | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +1999-03-16 Gary V. Vaughan <gvaughan@oranda.demon.co.uk> + + * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does + not exist -- i.e. we need to generate import an import library + in a directory which has no libs of its own. + 1999-03-16 Thomas Tanner <tanner@gmx.de> * updated diff --git a/ltconfig.in b/ltconfig.in index 74def959..c49cd26d 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1086,7 +1086,8 @@ EOF allow_undefined_flag=unsupported always_export_symbols=yes - extract_expsyms_cmds='test -f $objdir/impgen.c || \ + extract_expsyms_cmds='test -d $objdir || mkdir -p $objdir~ + test -f $objdir/impgen.c || \ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //; p; }" -e d < $0 > $objdir/impgen.c~ test -f $objdir/impgen.exe || (cd $objdir && $CC -o impgen impgen.c)~ $objdir/impgen $dir/$soname > $objdir/$soname-def' |