a bunch of cleaning to get wayward unit tests passing on windows. not there yet.
[feisty_meow.git] / scripts / clam / cpp / rules.def
index 9183ab87bc86f6e7d10de81ffcc51d0d1970b5a0..0edf1ba09ac02effc1f38e8f0dfa43b53ae066c3 100644 (file)
@@ -271,7 +271,11 @@ ifeq "$(OP_SYSTEM)" "WIN32"
   else
     TEMP_OBJ3a = $(TEMP_OBJ2)
   endif
-  TEMP_OBJ3 = $(TEMP_OBJ3a:%.rc=%.res)
+  ifeq "$(COMPILER)" "VISUAL_CPP"
+    TEMP_OBJ3 = $(TEMP_OBJ3a:%.rc=%.res)
+  else
+    TEMP_OBJ3 = $(TEMP_OBJ3a)
+  endif
 else
   # replace this when supporting resource files on unix.
   TEMP_OBJ3 = $(TEMP_OBJ2:%.rc=)