diff --git a/pkgs/libxml2/libxml2-build.sh b/pkgs/libxml2/libxml2-build.sh index de91b2cfd31..e88ac55e069 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 e9f7b765a4f..aa6db2f045f 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