From cec4d0dc6233c3b8f71998a978dc25a257dc47f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 26 Jul 2003 21:00:24 +0000 Subject: [PATCH] * Strip debug info. svn path=/nixpkgs/trunk/; revision=208 --- pkgs/libxml2/libxml2-build.sh | 1 + pkgs/libxslt/libxslt-build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/libxml2/libxml2-build.sh b/pkgs/libxml2/libxml2-build.sh index de91b2cfd314..e88ac55e069d 100755 --- a/pkgs/libxml2/libxml2-build.sh +++ b/pkgs/libxml2/libxml2-build.sh @@ -7,3 +7,4 @@ cd libxml2-* || exit 1 LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1 make || exit 1 make install || exit 1 +strip -S $out/lib/*.a || exit 1 diff --git a/pkgs/libxslt/libxslt-build.sh b/pkgs/libxslt/libxslt-build.sh index e9f7b765a4fd..aa6db2f045f2 100755 --- a/pkgs/libxslt/libxslt-build.sh +++ b/pkgs/libxslt/libxslt-build.sh @@ -10,5 +10,6 @@ cd libxslt-* || exit 1 LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1 make || exit 1 make install || exit 1 +strip -S $out/lib/*.a || exit 1 echo $envpkgs > $out/envpkgs || exit 1