# HG changeset patch # User Mark Brand # Date 1348000662 -7200 # Node ID 30b0ab7e64068180fd5c7d97f979df1b619042c6 # Parent d6c677d7e0e3beeb677f182e280603885c926a89 package protobuf: fixed bulding of test program diff -r d6c677d7e0e3 -r 30b0ab7e6406 src/protobuf.mk --- 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