2017-05-29 17:47:39 +00:00
|
|
|
diff --git a/base/unix-dll.mak b/base/unix-dll.mak
|
|
|
|
index 9d57a99..36ef1ff 100644
|
|
|
|
--- a/base/unix-dll.mak
|
|
|
|
+++ b/base/unix-dll.mak
|
|
|
|
@@ -171,11 +171,11 @@ gpdl-so-links-subtarget: $(GPDL_SO) $(UNIX_DLL_MAK) $(MAKEDIRS)
|
2015-04-05 13:23:11 +00:00
|
|
|
# Build the small Ghostscript loaders, with Gtk+ and without
|
2017-05-29 17:47:39 +00:00
|
|
|
$(GSSOC_XE): gs-so-links-subtarget $(PSSRC)$(SOC_LOADER) $(UNIX_DLL_MAK) $(MAKEDIRS)
|
2015-04-05 13:23:11 +00:00
|
|
|
$(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
|
|
|
|
- -L$(BINDIR) -l$(GS_SO_BASE)
|
|
|
|
+ -L$(BINDIR) -l$(GS_SO_BASE) -Wl,-rpath=$(libdir)
|
|
|
|
|
2017-05-29 17:47:39 +00:00
|
|
|
$(GSSOX_XE): gs-so-links-subtarget $(PSSRC)$(SOC_LOADER) $(UNIX_DLL_MAK) $(MAKEDIRS)
|
2015-04-05 13:23:11 +00:00
|
|
|
$(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
|
|
|
|
- -L$(BINDIR) -l$(GS_SO_BASE) $(SOC_LIBS)
|
|
|
|
+ -L$(BINDIR) -l$(GS_SO_BASE) $(SOC_LIBS) -Wl,-rpath=$(libdir)
|
|
|
|
|
2017-05-29 17:47:39 +00:00
|
|
|
$(PCLSOC_XE): gpcl6-so-links-subtarget $(PLSRC)$(REALMAIN_SRC).c $(UNIX_DLL_MAK) $(MAKEDIRS)
|
|
|
|
$(GLCC) -g -o $(PCLSOC_XE) $(PLSRC)$(REALMAIN_SRC).c -L$(BINDIR) -l$(PCL_SO_BASE)
|