gnu: Add ruby-puma.
[jackhill/guix/guix.git] / gnu / packages / patches / ghostscript-runpath.patch
CommitLineData
1d386b2d
LC
1This patch adds $(libdir) to the RUNPATH of 'gsc' and 'gsx'.
2
3--- gnu-ghostscript-9.14.0/base/unix-dll.mak 2015-04-05 15:12:45.386957927 +0200
4+++ gnu-ghostscript-9.14.0/base/unix-dll.mak 2015-04-05 15:12:49.222982359 +0200
5@@ -91,11 +91,11 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
6 # Build the small Ghostscript loaders, with Gtk+ and without
7 $(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
8 $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
9- -L$(BINDIR) -l$(GS_SO_BASE)
10+ -L$(BINDIR) -l$(GS_SO_BASE) -Wl,-rpath=$(libdir)
11
12 $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
13 $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
14- -L$(BINDIR) -l$(GS_SO_BASE) $(SOC_LIBS)
15+ -L$(BINDIR) -l$(GS_SO_BASE) $(SOC_LIBS) -Wl,-rpath=$(libdir)
16
17 # ------------------------- Recursive make targets ------------------------- #