aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 3cc1a95192..85da0dd892 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -971,6 +971,9 @@ endif
common = common + ' $(LDLIBS_SECURE) $(OPENSSL_MERGE_LIBS)'
lib_deps = lib_deps + ' $(OPENSSL_DEP)'
mingw_lib_deps = mingw_lib_deps + ' $(OPENSSL_DEP)'
+
+ if lib.language == 'c++':
+ common = common + ' $(LDLIBSXX) $(LDLIBS_PROTOBUF)'
%>
% if lib.build == "all":