[MacPorts] #14394: zlib +universal requires -mmacosx-version-min=10.4
MacPorts
trac at macosforge.org
Wed Feb 20 02:14:01 PST 2008
#14394: zlib +universal requires -mmacosx-version-min=10.4
-----------------------------------+----------------------------------------
Reporter: gui_dos at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by gui_dos at macports.org):
The same issue happens with jpeg:
{{{
/usr/bin/gcc-4.0 -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc
-arch i386 -I/opt/local/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-I. -dynamiclib -o .libs/libjpeg.62.0.0.dylib jcapimin.lo jcapistd.lo
jctrans.lo jcparam.lo jdatadst.lo jcinit.lo jcmaster.lo jcmarker.lo
jcmainct.lo jcprepct.lo jccoefct.lo jccolor.lo jcsample.lo jchuff.lo
jcphuff.lo jcdctmgr.lo jfdctfst.lo jfdctflt.lo jfdctint.lo jdapimin.lo
jdapistd.lo jdtrans.lo jdatasrc.lo jdmaster.lo jdinput.lo jdmarker.lo
jdhuff.lo jdphuff.lo jdmainct.lo jdcoefct.lo jdpostct.lo jddctmgr.lo
jidctfst.lo jidctflt.lo jidctint.lo jidctred.lo jdsample.lo jdcolor.lo
jquant1.lo jquant2.lo jdmerge.lo jcomapi.lo jutils.lo jerror.lo jmemmgr.lo
jmemnobs.lo -lc -install_name /opt/local/lib/libjpeg.62.dylib
-compatibility_version 63 -current_version 63.0
ld: library not found for -ldylib1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -ldylib1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccjUnvIf.out (No such file or
directory)
make: *** [libjpeg.la] Error 1
}}}
Instead of modifying the configure/makefile scripts, we could simply
add
{{{
configure.universal_cflags-append -mmacosx-version-min=10.4
}}}
in the configure_get_universal_cflags proc of portconfigure.tcl, too
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14394#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list