fix: Support 64-bit package config file 18/274818/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063811 accepted/tizen/7.0/unified/hotfix/20221116.110837 accepted/tizen/unified/20220525.134610 submit/tizen/20220518.221741 submit/tizen/20220524.054922 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 10 May 2022 03:07:14 +0000 (12:07 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 10 May 2022 03:07:14 +0000 (12:07 +0900)
Support 64-bit package config file

Change-Id: Id583d6ba5d2067c7418cd3f82892cb6e9e479511

packaging/support_lib64_directory.patch

index e6f67f5..350f204 100644 (file)
@@ -32,3 +32,17 @@ index 82488660..9a88bba0 100644
    "-lgrpc -laddress_sorting -lre2 -lupb -lcares -lz"
    ""
    "grpc.pc")
+
+diff --git a/cmake/pkg-config-template.pc.in b/cmake/pkg-config-template.pc.in
+index d56154bb..63344fad 100644
+--- a/cmake/pkg-config-template.pc.in
++++ b/cmake/pkg-config-template.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=${prefix}
+ includedir=${prefix}/include
+-libdir=${exec_prefix}/lib
++libdir=@gRPC_INSTALL_LIBDIR@
+ Name: @PC_NAME@
+ Description: @PC_DESCRIPTION@