From fc8426575d1e1439a99b0a2606a6da31c1682bf0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 26 Oct 2012 22:58:46 -0400 Subject: 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' --- 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 -- cgit v0.9.1