mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
1d386b2d71
Fixes <http://bugs.gnu.org/20050>. Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer). * gnu/packages/patches/ghostscript-runpath.patch: New file. * gnu/packages/ghostscript.scm (ghostscript)[source]: Use it. * gnu-system.am (dist_patch_DATA): Add it.
17 lines
817 B
Diff
17 lines
817 B
Diff
This patch adds $(libdir) to the RUNPATH of 'gsc' and 'gsx'.
|
|
|
|
--- gnu-ghostscript-9.14.0/base/unix-dll.mak 2015-04-05 15:12:45.386957927 +0200
|
|
+++ gnu-ghostscript-9.14.0/base/unix-dll.mak 2015-04-05 15:12:49.222982359 +0200
|
|
@@ -91,11 +91,11 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
|
|
# Build the small Ghostscript loaders, with Gtk+ and without
|
|
$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
|
|
$(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
|
|
- -L$(BINDIR) -l$(GS_SO_BASE)
|
|
+ -L$(BINDIR) -l$(GS_SO_BASE) -Wl,-rpath=$(libdir)
|
|
|
|
$(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
|
|
$(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)
|
|
|
|
# ------------------------- Recursive make targets ------------------------- #
|