From 9c5d89e6a27e1364c5fee7a411a8c4d1ea8edb93 Mon Sep 17 00:00:00 2001 From: "richm%stanfordalumni.org" Date: Tue, 10 May 2005 20:07:34 +0000 Subject: [PATCH] fix for 293042: For gcc builds, need to use g++ to link --- directory/c-sdk/build.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/directory/c-sdk/build.mk b/directory/c-sdk/build.mk index af89b843a3d8..3f0335ca6990 100644 --- a/directory/c-sdk/build.mk +++ b/directory/c-sdk/build.mk @@ -312,6 +312,10 @@ else RPATHFLAG_PREFIX=-Wl,-R, endif +ifdef NS_USE_GCC +USE_CCC_TO_LINK=1 +endif + # flag to pass to ld when linking to set runtime shared library search path # this is used like this, for example: $(LDRPATHFLAG_PREFIX)../.. LDRPATHFLAG_PREFIX=-R