diff options
Diffstat (limited to 'winsup/cygwin/speclib')
-rwxr-xr-x | winsup/cygwin/speclib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index 63c2f20fc..f9c467685 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -6,7 +6,7 @@ lib=$1; shift nm=$1; shift dlltool=$1; shift def=$1; shift -# trap "rm /tmp/$$.def" 0 1 2 15 +trap "rm /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 -d /tmp/$$.def -l "$lib" -D /dev/null |