27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
diff -up ghostscript-8.71/base/unix-dll.mak.ldflags ghostscript-8.71/base/unix-dll.mak
|
|
--- ghostscript-8.71/base/unix-dll.mak.ldflags 2009-10-19 21:24:53.000000000 +0100
|
|
+++ ghostscript-8.71/base/unix-dll.mak 2010-02-19 10:07:06.645044318 +0000
|
|
@@ -88,8 +88,9 @@ $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOAD
|
|
|
|
# ------------------------- Recursive make targets ------------------------- #
|
|
|
|
-SODEFS=LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\
|
|
+SODEFS=\
|
|
GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
|
|
+ GS_XE_LDFLAGS=$(LDFLAGS_SO)\
|
|
STDIO_IMPLEMENTATION=c\
|
|
DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
|
|
BINDIR=$(BINDIR)/$(SOBINRELDIR)\
|
|
diff -up ghostscript-8.71/base/unixlink.mak.ldflags ghostscript-8.71/base/unixlink.mak
|
|
--- ghostscript-8.71/base/unixlink.mak.ldflags 2008-02-29 08:13:08.000000000 +0000
|
|
+++ ghostscript-8.71/base/unixlink.mak 2010-02-19 10:07:06.646044276 +0000
|
|
@@ -50,7 +50,7 @@ $(GS_A): $(obj_tr) $(ECHOGS_XE) $(INT_AR
|
|
# which has limited environment space.
|
|
ldt_tr=$(PSOBJ)ldt.tr
|
|
$(GS_XE): $(ld_tr) $(ECHOGS_XE) $(XE_ALL) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ)
|
|
- $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(LDFLAGS) -o $(GS_XE)
|
|
+ $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_XE_LDFLAGS) $(LDFLAGS) -o $(GS_XE)
|
|
$(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) $(PSOBJ)gs.$(OBJ) -s
|
|
cat $(ld_tr) >>$(ldt_tr)
|
|
$(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS)
|