From 6f500be3e4f3712a74e67845a98fe8f0a50b787e Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Tue, 26 Jun 2001 03:23:31 +0000 Subject: [PATCH] Backing out file to fix bustage --- gfx/src/xprint/Makefile.in | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gfx/src/xprint/Makefile.in b/gfx/src/xprint/Makefile.in index 2303240b1947..1b7e44b7dccf 100644 --- a/gfx/src/xprint/Makefile.in +++ b/gfx/src/xprint/Makefile.in @@ -23,7 +23,7 @@ DEPTH = ../../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ -VPATH = @srcdir@:@srcdir@/../xlib:@srcdir@/../xlibrgb +VPATH = @srcdir@ @srcdir@/../xlib include $(DEPTH)/config/autoconf.mk @@ -37,9 +37,8 @@ EXTRA_DSO_LIBS = gkgfx REQUIRES = xpcom string widget view img util dom pref locale uconv unicharutil gfx2 necko imglib2 intl CSRCS = \ - xlibrgb.c \ - xprintutil.c \ - xprintutil_printtofile.c \ + xprintutil.c \ + xprintutil_printtofile.c \ $(NULL) CPPSRCS = \ @@ -49,7 +48,7 @@ CPPSRCS = \ nsGfxFactoryXP.cpp \ nsXPrintContext.cpp \ nsRegionXlib.cpp \ - nsGCCache.cpp \ + nsGCCache.cpp \ $(NULL) EXPORTS = \ @@ -73,15 +72,10 @@ endif CFLAGS += $(TK_CFLAGS) CXXFLAGS += $(TK_CFLAGS) -# gisburn: linking against xlibrgb.so does not work due global variables -# in that library which must not be shared between main toolkit and -# Xprint module classes. -# This will be fixed by bug 85527 ("Turn xlibrgb into a shared library" - -# this RFE will introduce a new API for xlibrgb where these variables are -# stored in a "handle" instead of using global variables...). EXTRA_DSO_LDOPTS += \ -L$(DIST)/bin \ -L$(DIST)/lib \ + -lxlibrgb \ $(EXTRA_DSO_LIBS) \ $(MOZ_COMPONENT_LIBS) \ $(NULL)