From 80b23366e79f229831efb6a590c90e2724d37927 Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 1 Dec 2002 21:34:06 +0000 Subject: - use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead. CVS patchset: 5911 CVS date: 2002/12/01 21:34:06 --- rpmio/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'rpmio') diff --git a/rpmio/Makefile.am b/rpmio/Makefile.am index 9adbf58db..2e350e8a3 100644 --- a/rpmio/Makefile.am +++ b/rpmio/Makefile.am @@ -22,17 +22,18 @@ noinst_HEADERS = rpmio_internal.h BEECRYPTLOBJS = $(shell cat $(top_builddir)/beecrypt/listobjs) -lib_LTLIBRARIES = librpmio.la +usrlibdir = $(libdir)@MARK64@ +usrlib_LTLIBRARIES = librpmio.la librpmio_la_SOURCES = digest.c fts.c macro.c \ rpmio.c rpmlog.c rpmmalloc.c \ rpmpgp.c rpmrpc.c strcasecmp.c stubs.c url.c ugid.c -librpmio_la_LDFLAGS = -release @VERSION@ @HACK_LIBTOOLPATH@ $(top_builddir)/file/libfmagic.la @WITH_ZLIB_LIB@ -lrt -lpthread +librpmio_la_LDFLAGS = -release @VERSION@ $(top_builddir)/file/libfmagic.la @WITH_ZLIB_LIB@ -lrt -lpthread librpmio_la_LIBADD = $(BEECRYPTLOBJS) librpmio_la_DEPENDENCIES = .created # XXX Add internal libtool dependence -install-data-local: - @cd $(DESTDIR)/$(libdir) && \ +install-data-local: install-usrlibLTLIBRARIES + @cd $(DESTDIR)/$(usrlibdir) && \ sed -e "s|^dependency_libs='|& -lpopt|" < librpmio.la > .librpmio.la && \ mv .librpmio.la librpmio.la -- cgit v1.2.3