From: Bruno Haible Date: Sat, 17 Jan 2009 08:29:19 +0000 (+0100) Subject: Remove debugging information left over by C compiler on MacOS X. X-Git-Tag: v0.1~6460 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=1e15435909bc114220f48804c9e3852aa166f1da;p=gnulib.git Remove debugging information left over by C compiler on MacOS X. --- diff --git a/ChangeLog b/ChangeLog index 6bb652e2d..65f6f67ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-01-17 Bruno Haible + * build-aux/install-reloc: Remove debugging information left over by + C compiler on MacOS X. + +2009-01-17 Bruno Haible + Update use of _NSGetExecutablePath after API change in MacOS X 10.4. * lib/progreloc.c (find_executable): Fix type of pointer passed to _NSGetExecutablePath. diff --git a/build-aux/install-reloc b/build-aux/install-reloc index 03e1f3f09..190dd6424 100755 --- a/build-aux/install-reloc +++ b/build-aux/install-reloc @@ -1,6 +1,6 @@ #!/bin/sh # install-reloc - install a program including a relocating wrapper -# Copyright (C) 2003, 2005-2007 Free Software Foundation, Inc. +# Copyright (C) 2003, 2005-2007, 2009 Free Software Foundation, Inc. # Written by Bruno Haible , 2003. # # This program is free software: you can redistribute it and/or modify @@ -169,6 +169,12 @@ rm -f relocwrapper.o \ strerror.o \ c-ctype.o test $rc = 0 || exit $? +# Clean up debugging information left over by the native C compiler on MacOS X. +rm -rf "$destprog.wrapper$exeext.dSYM" +test $rc = 0 || exit $? + +# Strip wrapper. +test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog.wrapper$exeext" || exit $? # Rename $destprog.wrapper -> $destprog -> $destprog.bin. ln -f "$destprog$exeext" "$destprog.bin$exeext" \