From 18055a93c5204defc2dd3bb1d9f577a28b25ea43 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Fri, 20 Apr 2007 22:37:34 +0000 Subject: unquote framework on macos x --- PATCHES | 3 +++ src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/PATCHES b/PATCHES index d77a508..ffc37ea 100644 --- a/PATCHES +++ b/PATCHES @@ -1,4 +1,7 @@ *** Changes marked with FREEHEP. +cpptasks-20051015-patched-1.4-SNAPSHOT +- unquoted -framework on MacOX X. + cpptasks-20051015-patched-1.3 - protected return of net.sf.antcontrib.cpptasks.compiler.CaptureStreamHandler.run(). diff --git a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java index 638e06d..cb4c125 100644 --- a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java +++ b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java @@ -139,7 +139,8 @@ public abstract class AbstractLdLinker extends CommandLineLinker { "framework".equals(set.getType().getValue()) && isDarwin()) { buf.setLength(0); - buf.append("-framework "); +// buf.append("-framework "); + endargs.addElement("-framework"); } int initialLength = buf.length(); for (int j = 0; j < libs.length; j++) { -- cgit v1.2.3