diff src/protobuf.mk @ 2752:30b0ab7e6406

package protobuf: fixed bulding of test program
author Mark Brand <mabrand@mabrand.nl>
date Tue, 18 Sep 2012 22:37:42 +0200
parents a69eb5b6d9a5
children 47558e958113
line wrap: on
line diff
--- a/src/protobuf.mk	Tue Sep 18 13:15:20 2012 -0700
+++ b/src/protobuf.mk	Tue Sep 18 22:37:42 2012 +0200
@@ -32,8 +32,8 @@
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install
 
-    '$(TARGET)-gcc' \
+    '$(TARGET)-g++' \
         -W -Wall -Werror -ansi -pedantic \
-        '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-protobuf.exe' \
+        '$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-protobuf.exe' \
         `'$(TARGET)-pkg-config' protobuf --cflags --libs`
 endef