summaryrefslogtreecommitdiff
path: root/rpmio/Makefile.am
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-12-01 21:34:06 +0000
committerjbj <devnull@localhost>2002-12-01 21:34:06 +0000
commit80b23366e79f229831efb6a590c90e2724d37927 (patch)
treee62a5951bd28e84579d84d988e3546808dcd8df3 /rpmio/Makefile.am
parent0efbbada0f3005d6f81a940ba7b06aef2703a50b (diff)
downloadlibrpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.tar.gz
librpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.tar.bz2
librpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.zip
- use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
CVS patchset: 5911 CVS date: 2002/12/01 21:34:06
Diffstat (limited to 'rpmio/Makefile.am')
-rw-r--r--rpmio/Makefile.am9
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