[MacPorts] #14394: zlib +universal requires -mmacosx-version-min=10.4
MacPorts
trac at macosforge.org
Tue Feb 19 06:56:26 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
Keywords: |
----------------------------------+-----------------------------------------
When not adding to the zlib's portfile the line
{{{
configure.universal_cflags-append -mmacosx-version-min=10.4
}}}
the compilation fails reporting the error:
{{{
/usr/bin/gcc-4.0 -dynamiclib -install_name /opt/local/lib/libz.1.dylib
-compatibility_version 1 -current_version 1.2.3 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -o libz.1.2.3.dylib
adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o
inflate.o infback.o inftrees.o inffast.o
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//ccrJTQkz.out (No such file or
directory)
make: *** [libz.1.2.3.dylib] Error 1
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14394>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list