From c7abdd319fdf682473a0b7769f5f26f54429c612 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Mon, 2 Nov 1998 12:20:07 +0000 Subject: [PATCH] Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This makes more unix linker happy. --- gfx/src/motif/Makefile | 9 +++++---- gfx/src/motif/Makefile.in | 12 +++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/gfx/src/motif/Makefile b/gfx/src/motif/Makefile index 03d94e7c04ee..f4bd896a0a37 100644 --- a/gfx/src/motif/Makefile +++ b/gfx/src/motif/Makefile @@ -28,10 +28,11 @@ REQUIRES=util img xpcom raptor netlib LCFLAGS+=-D_IMPL_NS_GFXONXP EXTRA_DSO_LDOPTS+=\ - $(DIST)/bin/libxpcom.so \ - $(DIST)/bin/libraptorgfx.so \ - $(DIST)/bin/libraptorbase.so \ - $(DIST)/bin/libreg.so \ + -L$(DIST)/bin \ + -lxpcom \ + -lraptorgfx \ + -lraptorbase \ + -lreg \ $(LIBNSPR)\ $(DIST)/lib/libplc21.a diff --git a/gfx/src/motif/Makefile.in b/gfx/src/motif/Makefile.in index 74dae882409e..5d5f1d804c3b 100644 --- a/gfx/src/motif/Makefile.in +++ b/gfx/src/motif/Makefile.in @@ -33,11 +33,13 @@ REQUIRES=util img xpcom raptor netlib DEFINES += -D_IMPL_NS_GFXONXP EXTRA_DSO_LDOPTS+=\ - $(DIST)/bin/libxpcom.so \ - $(DIST)/bin/libraptorgfx.so \ - $(DIST)/bin/libraptorbase.so \ - $(DIST)/bin/libreg.so \ - $(NSPR_LIBS) + -L$(DIST)/bin \ + -lxpcom \ + -lraptorgfx \ + -lraptorbase \ + -lreg \ + $(LIBNSPR)\ + $(DIST)/lib/libplc21.a EXTRA_DSO_LDOPTS+= $(XLDFLAGS) $(XLIBS)