diff --git a/java/webclient/src_moz/Makefile.in b/java/webclient/src_moz/Makefile.in index 022d3642395..1ef75f2679e 100644 --- a/java/webclient/src_moz/Makefile.in +++ b/java/webclient/src_moz/Makefile.in @@ -77,7 +77,7 @@ ifneq ($(BAL_INTERFACE),) CXXFLAGS += -DBAL_INTERFACE endif -EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/bin/components -lwidget_gtk +EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/lib -L$(DEPTH)/dist/bin/components -lwidget_gtk ifneq ($(BAL_INTERFACE),) EXTRA_DSO_LDOPTS += -lwc_share_bal diff --git a/java/webclient/src_moz/motif/Makefile.in b/java/webclient/src_moz/motif/Makefile.in index 128cdfbf3dd..e118788754d 100644 --- a/java/webclient/src_moz/motif/Makefile.in +++ b/java/webclient/src_moz/motif/Makefile.in @@ -39,11 +39,11 @@ ifdef MOZ_ENABLE_GTK ifndef MOZ_MONOLITHIC_TOOLKIT CXXFLAGS += $(MOZ_GTK_CFLAGS) CFLAGS += $(MOZ_GTK_CFLAGS) -EXTRA_DSO_LDOPTS += -lgtkxtbin -lgtksuperwin -L/usr/X11R6/lib -lXt +EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/lib -lgtkxtbin -lgtksuperwin -L/usr/X11R6/lib -lXt else CXXFLAGS += $(TK_CFLAGS) CFLAGS += $(TK_CFLAGS) -EXTRA_DSO_LDOPTS += -lgtkxtbin -lgtksuperwin -L/usr/X11R6/lib -lXt +EXTRA_DSO_LDOPTS += -L$(DEPTH)/dist/lib -lgtkxtbin -lgtksuperwin -L/usr/X11R6/lib -lXt endif endif