summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-26 22:58:46 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-26 23:02:23 (EDT)
commitfc8426575d1e1439a99b0a2606a6da31c1682bf0 (patch)
treea1062edc8a9a1db52a621942f8e58d60e2f1c3b4
parent4c444010983ccbcd420a2ceef77961b2d88d8395 (diff)
Don't distribute libexpat.la.
.la files are "libtool library files" – static library metadata files generated by GNU libtool. We don't need these since we provide all of our metadata in binary packages' control files. For example, here is the .la file for libexpat.so.1: # libexpat.la - a libtool library file # Generated by libtool (GNU libtool) 2.4 Debian-2.4-2ubuntu1 # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libexpat.so.1' # Names of this library. library_names='libexpat.so.1.6.0 libexpat.so.1 libexpat.so' # The name of the static archive. old_library='libexpat.a' # Linker flags that can not go in dependency_libs. inherited_linker_flags='' # Libraries that this one depends upon. dependency_libs='' # Names of additional weak libraries provided by this library weak_library_names='' # Version information for libexpat. current=7 age=6 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib'
-rwxr-xr-xbuild1
-rw-r--r--libexpat.1-dev.pkg/files1
2 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 8e866ef..7cf3368 100755
--- a/build
+++ b/build
@@ -10,6 +10,7 @@ build: configure
install: build
oh-autoinstall
+ rm -f dest/usr/lib/libexpat.la
oh-fixperms
oh-strip -k
oh-installfiles
diff --git a/libexpat.1-dev.pkg/files b/libexpat.1-dev.pkg/files
index 1e514a6..a694528 100644
--- a/libexpat.1-dev.pkg/files
+++ b/libexpat.1-dev.pkg/files
@@ -1,4 +1,3 @@
/usr/include
/usr/lib/libexpat.a
-/usr/lib/libexpat.la
/usr/lib/pkgconfig