1 | diff -ru scripts/makefile.darwin scripts/makefile.darwin |
---|
2 | --- scripts/makefile.darwin Thu Oct 3 07:32:34 2002 |
---|
3 | +++ scripts/makefile.darwin Sun Feb 9 17:54:23 2003 |
---|
4 | @@ -85,18 +85,17 @@ |
---|
5 | |
---|
6 | $(LIBNAME).$(PNGVER).dylib: $(OBJSDLL) |
---|
7 | $(CC) -dynamiclib \ |
---|
8 | - -install_name $(DL)/$(LIBNAME).$(PNGMAJ).dylib \ |
---|
9 | - -flat_namespace -undefined suppress \ |
---|
10 | + -install_name $(LIBPATH)/$(LIBNAME).$(PNGMAJ).dylib \ |
---|
11 | + -current_version $(PNGVER) -compatibility_version $(PNGVER) \ |
---|
12 | -o $(LIBNAME).$(PNGVER).dylib \ |
---|
13 | - $(OBJSDLL) |
---|
14 | + $(OBJSDLL) -L$(ZLIBLIB) -lz |
---|
15 | |
---|
16 | libpng.3.$(PNGMIN).dylib: $(OBJSDLL) |
---|
17 | $(CC) -dynamiclib \ |
---|
18 | - -install_name $(DL)/libpng.3.dylib \ |
---|
19 | + -install_name $(LIBPATH)/libpng.3.dylib \ |
---|
20 | -current_version 3 -compatibility_version 3 \ |
---|
21 | - -flat_namespace -undefined suppress \ |
---|
22 | -o libpng.3.$(PNGMIN).dylib \ |
---|
23 | - $(OBJSDLL) |
---|
24 | + $(OBJSDLL) -L$(ZLIBLIB) -lz |
---|
25 | |
---|
26 | pngtest: pngtest.o $(LIBNAME).dylib |
---|
27 | $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) |
---|