Ticket #3104: patch-src-unix-dll.mak

File patch-src-unix-dll.mak, 1.2 KB (added by yves@…, 20 years ago)

patch-src-unix-dll.mak

Line 
1--- src/unix-dll.mak.orig       2005-05-15 18:49:29.000000000 -0400
2+++ src/unix-dll.mak    2005-05-15 18:50:55.000000000 -0400
3@@ -45,12 +45,12 @@
4 GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME)
5 
6 # shared library
7-GS_SONAME=lib$(GS).so
8-GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
9-GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
10+GS_SONAME=lib$(GS).dylib
11+GS_SONAME_MAJOR=lib$(GS).$(GS_VERSION_MAJOR).dylib
12+GS_SONAME_MAJOR_MINOR=lib$(GS).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).dylib
13 GS_SO=$(BINDIR)/$(GS_SONAME)
14-GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR)
15-GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR)
16+GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR)
17+GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR)
18 
19 # Shared object is built by redefining GS_XE in a recursive make.
20 
21@@ -74,7 +74,7 @@
22 
23 # ------------------------- Recursive make targets ------------------------- #
24 
25-SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname=$(GS_SONAME_MAJOR)'\
26+SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name $(prefix)/lib/$(GS_SONAME_MAJOR)'\
27  GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
28  STDIO_IMPLEMENTATION=c\
29  DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\