summaryrefslogtreecommitdiff
path: root/inputmethod/mozc-server/patches/patch-protobuf_protobuf.gyp
blob: 0d43bee5b7ff892d86995fe2c27be0ad6607a44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-protobuf_protobuf.gyp,v 1.7 2021/02/27 04:19:46 ryoon Exp $

* Pass LDFLAGS from pkgsrc.
  Fix -lprotobuf is not found error.

--- protobuf/protobuf.gyp.orig	2021-02-15 05:04:33.000000000 +0000
+++ protobuf/protobuf.gyp
@@ -156,6 +156,9 @@
             'libraries': [
               '-lprotobuf',
             ],
+            'ldflags': [
+              '<!(echo $LDFLAGS)',
+            ],
           },
         },
         {  # else