From: Gary V. Vaughan Date: Wed, 17 Mar 1999 14:52:38 +0000 (+0000) Subject: * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b51a17e292d87c70dc29b5a903d1c699dff599a;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 6a8d58c37..500014d8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-03-16 Gary V. Vaughan + + * 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 * updated diff --git a/ltconfig.in b/ltconfig.in index 74def9598..c49cd26db 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'