[Darwinfiles-cvs] packagetree/media-libs/netpbm/files/9.12 Makefile.config,1.1,1.2
Status: Alpha
Brought to you by:
jimmacr
From: <ji...@us...> - 2002-09-17 03:23:55
|
Update of /cvsroot/darwinfiles/packagetree/media-libs/netpbm/files/9.12 In directory usw-pr-cvs1:/tmp/cvs-serv10231/files/9.12 Modified Files: Makefile.config Log Message: Patched For Darwin Index: Makefile.config =================================================================== RCS file: /cvsroot/darwinfiles/packagetree/media-libs/netpbm/files/9.12/Makefile.config,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.config 16 Sep 2002 13:19:45 -0000 1.1 --- Makefile.config 17 Sep 2002 03:23:52 -0000 1.2 *************** *** 39,43 **** #CC = cc #CC = gcc ! CC = gcc # The linker. --- 39,43 ---- #CC = cc #CC = gcc ! CC = gcc -no-cpp-precomp # The linker. *************** *** 117,123 **** # Linker options for created Netpbm shared libraries. # Here, $(SONAME) resolves to the soname for the shared library being created. # The following are gcc options. This works on GNU libc systems. ! LDSHLIB = -shared -Wl,-soname,$(SONAME) # You need -nostart instead of -shared on BeOS. Though the BeOS compiler is # ostensibly gcc, it has the -nostart option, which is not mentioned in gcc --- 117,124 ---- # Linker options for created Netpbm shared libraries. + LDSHLIB = -dynamiclib -install_name $(NETPBM_RUNTIME_PATH)/libnetpbm.$(MAJ).dylib # Here, $(SONAME) resolves to the soname for the shared library being created. # The following are gcc options. This works on GNU libc systems. ! #LDSHLIB = -shared -Wl,-soname,$(SONAME) # You need -nostart instead of -shared on BeOS. Though the BeOS compiler is # ostensibly gcc, it has the -nostart option, which is not mentioned in gcc *************** *** 142,146 **** # Solaris, SunOS, and NetBSD: #CFLAGS_SHLIB = -fpic ! CFLAGS_SHLIB = -fPIC # The netpbm package contains a version of the Tiff library, --- 143,148 ---- # Solaris, SunOS, and NetBSD: #CFLAGS_SHLIB = -fpic ! ! CFLAGS_SHLIB = -fno-common # The netpbm package contains a version of the Tiff library, *************** *** 334,339 **** #LIBTIFFSUFFIX = a # For shared libraries: ! NETPBMLIBSUFFIX = so ! LIBTIFFSUFFIX = so --- 336,341 ---- #LIBTIFFSUFFIX = a # For shared libraries: ! NETPBMLIBSUFFIX = dylib ! LIBTIFFSUFFIX = dylib |