summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-26 21:00:24 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-26 21:00:24 +0000
commitcec4d0dc6233c3b8f71998a978dc25a257dc47f9 (patch)
treea7ad3a276b1d2b13d95300ca091b068f2069da08
parenta7e18d28f5fd8257ed3ee16cc8deb39790c277d4 (diff)
* Strip debug info.
svn path=/nixpkgs/trunk/; revision=208
-rwxr-xr-xpkgs/libxml2/libxml2-build.sh1
-rwxr-xr-xpkgs/libxslt/libxslt-build.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/libxml2/libxml2-build.sh b/pkgs/libxml2/libxml2-build.sh
index de91b2cfd3140..e88ac55e069d9 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 e9f7b765a4fdf..aa6db2f045f2b 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