diff options
Diffstat (limited to 'rpmio/Makefile.am')
-rw-r--r-- | rpmio/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
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 |