summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/am
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-03 22:18:29 +0000
committerKarl Berry <karl@freefriends.org>2009-06-03 22:18:29 +0000
commite100f2a4b1daafea0e05c0b4d44df0b054219ab9 (patch)
tree7ea5f9cd33eac1d0444f7ffd2049c45093aed0c6 /Build/source/texk/web2c/pdftexdir/am
parent4e8237b3634d682a437a4187788f6f2a7ee519c9 (diff)
do not link pdftosrc with libpdftex.a
git-svn-id: svn://tug.org/texlive/trunk@13617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/am')
-rw-r--r--Build/source/texk/web2c/pdftexdir/am/pdftex.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/am/pdftex.am b/Build/source/texk/web2c/pdftexdir/am/pdftex.am
index 079ffcf1a7e..3f2ddbeb8ca 100644
--- a/Build/source/texk/web2c/pdftexdir/am/pdftex.am
+++ b/Build/source/texk/web2c/pdftexdir/am/pdftex.am
@@ -7,7 +7,8 @@ pdftex_cppflags = $(ZLIB_INCLUDES) $(LIBPNG_INCLUDES) $(XPDF_INCLUDES)
pdftex_cppflags += $(OBSDCOMPAT_INCLUDES) -I$(srcdir)/libmd5
pdftex_cppflags += -I$(srcdir)/pdftexdir
-pdftex_ldadd = libpdftex.a $(LIBPNG_LIBS) $(ZLIB_LIBS) $(XPDF_LIBS)
+# used for both pdftex and pdftosrc.
+pdftex_ldadd = $(LIBPNG_LIBS) $(ZLIB_LIBS) $(XPDF_LIBS)
pdftex_ldadd += $(OBSDCOMPAT_LIBS) libmd5.a
pdftex_dependencies = $(proglib)
@@ -29,7 +30,7 @@ pdf_tangle = WEBINPUTS=.:$(srcdir)/pdftexdir $(buildenv) $(TANGLE)
pdftex_CPPFLAGS = $(pdftex_cppflags)
## With --enable-ipc, pdfTeX may need to link with -lsocket.
-pdftex_LDADD = $(pdftex_ldadd) $(LDADD) $(ipc_socketlibs)
+pdftex_LDADD = libpdftex.a $(pdftex_ldadd) $(LDADD) $(ipc_socketlibs)
pdftex_DEPENDENCIES = $(pdftex_dependencies) libpdftex.a