summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/build b/build
index dd90713..b251c4b 100755
--- a/build
+++ b/build
@@ -12,6 +12,13 @@ build:
install: build
oh-autoinstall
+ # XXX: libpng12-config is an architecture-dependent file in an
+ # architecture-independent path. Some package build systems may need
+ # this script, but they should probably just be patched to use
+ # pkg-config instead.
+ rm dest/usr/bin/libpng*-config
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng*.la
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng.so.3*
oh-fixperms
oh-strip -k
oh-installfiles