[33480] trunk/base/src/port1.0/portconfigure.tcl
afb at macports.org
afb at macports.org
Sun Jan 27 12:09:18 PST 2008
Revision: 33480
http://trac.macosforge.org/projects/macports/changeset/33480
Author: afb at macports.org
Date: 2008-01-27 12:09:15 -0800 (Sun, 27 Jan 2008)
Log Message:
-----------
leopard hackaround, to avoid the 'ld: library not found for -lcrt1.10.5.o' errors
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2008-01-27 19:24:00 UTC (rev 33479)
+++ trunk/base/src/port1.0/portconfigure.tcl 2008-01-27 20:09:15 UTC (rev 33480)
@@ -150,12 +150,17 @@
# internal function to determine the LDFLAGS for the compiler
proc configure_get_universal_ldflags {args} {
- global configure.universal_sysroot os.platform os.arch os.version os.major
+ global configure.universal_sysroot global configure.universal_target
+ global os.platform os.arch os.version os.major
set flags [configure_get_universal_archflags]
# works around linking without using the CFLAGS, outside of automake
if {${os.arch} == "powerpc"} {
set flags "-Wl,-syslibroot,${configure.universal_sysroot} ${flags}"
}
+ # normally set in MACOSX_DEPLOYMENT_TARGET, add here too to make sure
+ if {${os.major} == "9"} {
+ set flags "${flags} -mmacosx-version-min=${configure.universal_target}"
+ }
return $flags
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/ffbe9ce3/attachment-0001.html
More information about the macports-changes
mailing list