mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* speclib: Ensure that temporary def file is removed.
This commit is contained in:
parent
3aad7c8a62
commit
dfb4c34707
@ -1,3 +1,7 @@
|
||||
2002-01-24 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* speclib: Ensure that temporary def file is removed.
|
||||
|
||||
2002-01-23 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* speclib: Use rm -f to remove temp file just to quiet any potential
|
||||
|
@ -20,4 +20,4 @@ def=$1; shift
|
||||
trap "rm -f /tmp/$$.def" 0 1 2 15
|
||||
(echo "LIBRARY cygwin1.dll
|
||||
EXPORTS"; $nm --extern-only --defined-only $* | sed -e '/^[ ]*$/d' -e '/:$/d' -e 's/^.* _\(.*\)/\1/' | grep $v -f - -w $def |egrep -vi '^library|exports|^$' | sort) > /tmp/$$.def
|
||||
exec $dlltool --as=$as -d /tmp/$$.def -l "$lib"
|
||||
$dlltool --as=$as -d /tmp/$$.def -l "$lib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user