summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-08-19 17:23:26 +0000
committerroot <devnull@localhost>1996-08-19 17:23:26 +0000
commite5349bdf75186ea8baa9b486b663bd356ab87a13 (patch)
tree87bd189a85c00d7bf4cdd4de6ebb1adff60f11d5 /Makefile.in
parent50d4e96930e1026f6258a4b4e9dfd6b12b868d25 (diff)
downloadrpm-e5349bdf75186ea8baa9b486b663bd356ab87a13.tar.gz
rpm-e5349bdf75186ea8baa9b486b663bd356ab87a13.tar.bz2
rpm-e5349bdf75186ea8baa9b486b663bd356ab87a13.zip
use -lintl conditionally
CVS patchset: 964 CVS date: 1996/08/19 17:23:26
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 9def0aaba..60f582268 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -47,7 +47,7 @@ MDEFINES = CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' CC='$(CC)'
SUBDIRS = lib build tools po misc
OBJS = rpm.o query.o install.o verify.o checksig.o ftp.o
PROGS = rpm rpm2cpio
-LOADLIBES = -lbuild -lrpm @LIBMISC@ @LIBS@ @ZLIB@
+LOADLIBES = -lbuild -lrpm @LIBMISC@ @LIBS@ @ZLIB@ @LIBINTL@
ifeq (.depend,$(wildcard .depend))
TARGET=everything
@@ -58,11 +58,11 @@ endif
all: $(TARGET)
rpm: lib/librpm.a build/libbuild.a gettextstub.o $(OBJS)
- $(CC) -o rpm -static $(LDFLAGS) $(OBJS) $(LOADLIBES) -lintl $(LIBEFENCE)
+ $(CC) -o rpm -static $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LIBEFENCE)
$(CC) -o rpm.shared $(LDFLAGS) $(OBJS) gettextstub.o $(LOADLIBES) $(LIBEFENCE)
rpm2cpio: lib/librpm.a rpm2cpio.o
- $(CC) -o rpm2cpio $(LDFLAGS) rpm2cpio.o $(LOADLIBES) -lintl
+ $(CC) -o rpm2cpio $(LDFLAGS) rpm2cpio.o $(LOADLIBES)
rpm.o: rpm.c query.h install.h lib/rpmlib.h Makefile
$(CC) $(CFLAGS) -DNLSPACKAGE=\"$(NLSPACKAGE)\" -DNLSDIR=\"$(NLSDIR)\" -DVERSION=\"$(VERSION)\" -c rpm.c