changeset 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 d6c677d7e0e3
children 00a8fe879b7b
files src/protobuf.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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