]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix propagation of libtirpc flags into build of test source.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 20 Nov 2020 16:37:30 +0000 (08:37 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 20 Nov 2020 16:37:30 +0000 (08:37 -0800)
Starting with glibc 2.32, the Linux libc<n>-dev no longer provides
the /usr/include/rpc/rpc.h header.  The configure script will detect
the availability of the libtirpc package and use the rpc.h header
from /usr/include/tirpc/rpc/rpc.h.

This fix extends the necessary compilation and linking options to the
build of the open-vm-tools services test programs that utilize RPC.

Fixes: https://github.com/vmware/open-vm-tools/issues/468
Pull Request: https://github.com/vmware/open-vm-tools/pull/469

open-vm-tools/AUTHORS
open-vm-tools/tests/testDebug/Makefile.am
open-vm-tools/tests/testPlugin/Makefile.am
open-vm-tools/tests/vmrpcdbg/Makefile.am

index a1907a97b247b564d9c9d994dbef14e5c359acca..c1c70c3614d870a50e2d50778eaf8f0f90487e42 100644 (file)
@@ -68,3 +68,5 @@ Thom Leggett    Propagate new gdk-pixbuf-xlib include location
 Alexey Shabalin Adding vmtools library dependency to deploypkg library.
                 - https://github.com/vmware/open-vm-tools/pull/432
 
+Christian Ehrhardt   Build: fix propagation of libtirpc flags
+                - https://github.com/vmware/open-vm-tools/pull/469
index 575fa3bb9fb31f029fcb9dcc039e0eb792dc4a90..5a35c1cccd71bab63e36c84d9060bb963ea66697 100644 (file)
@@ -1,5 +1,5 @@
 ################################################################################
-### Copyright (C) 2009-2016 VMware, Inc.  All rights reserved.
+### Copyright (c) 2009-2016, 2020 VMware, Inc.  All rights reserved.
 ###
 ### This program is free software; you can redistribute it and/or modify
 ### it under the terms of version 2 of the GNU General Public License as
@@ -22,6 +22,7 @@ libtestDebug_la_CPPFLAGS =
 libtestDebug_la_CPPFLAGS += @CUNIT_CPPFLAGS@
 libtestDebug_la_CPPFLAGS += @GOBJECT_CPPFLAGS@
 libtestDebug_la_CPPFLAGS += @PLUGIN_CPPFLAGS@
+libtestDebug_la_CPPFLAGS += @XDR_CPPFLAGS@
 
 libtestDebug_la_LDFLAGS =
 libtestDebug_la_LDFLAGS += @PLUGIN_LDFLAGS@
@@ -30,6 +31,7 @@ libtestDebug_la_LIBADD =
 libtestDebug_la_LIBADD += @CUNIT_LIBS@
 libtestDebug_la_LIBADD += @GOBJECT_LIBS@
 libtestDebug_la_LIBADD += @VMTOOLS_LIBS@
+libtestDebug_la_LIBADD += @XDR_LIBS@
 libtestDebug_la_LIBADD += ../vmrpcdbg/libvmrpcdbg.la
 
 libtestDebug_la_SOURCES =
index e1951ecfdfc4b1a80900e0742b5e2e6c5602df70..5320cbcbd41044ebca9ecd9eea06e857e2978e28 100644 (file)
@@ -1,5 +1,5 @@
 ################################################################################
-### Copyright (C) 2009-2016 VMware, Inc.  All rights reserved.
+### Copyright (c) 2009-2016, 2020 VMware, Inc.  All rights reserved.
 ###
 ### This program is free software; you can redistribute it and/or modify
 ### it under the terms of version 2 of the GNU General Public License as
@@ -22,6 +22,7 @@ libtestPlugin_la_CPPFLAGS =
 libtestPlugin_la_CPPFLAGS += @CUNIT_CPPFLAGS@
 libtestPlugin_la_CPPFLAGS += @GOBJECT_CPPFLAGS@
 libtestPlugin_la_CPPFLAGS += @PLUGIN_CPPFLAGS@
+libtestPlugin_la_CPPFLAGS += @XDR_CPPFLAGS@
 
 libtestPlugin_la_LDFLAGS =
 libtestPlugin_la_LDFLAGS += @PLUGIN_LDFLAGS@
index c28f4f38fb4a87880871919e59d891c70fbb3ff3..c7b27821948b30c811e3c08bde76e78f328ea366 100644 (file)
@@ -1,5 +1,5 @@
 ################################################################################
-### Copyright (C) 2009-2016 VMware, Inc.  All rights reserved.
+### Copyright (c) 2009-2016, 2020 VMware, Inc.  All rights reserved.
 ###
 ### This program is free software; you can redistribute it and/or modify
 ### it under the terms of version 2 of the GNU General Public License as
@@ -21,6 +21,7 @@ libvmrpcdbg_la_CPPFLAGS =
 libvmrpcdbg_la_CPPFLAGS += @CUNIT_CPPFLAGS@
 libvmrpcdbg_la_CPPFLAGS += @GMODULE_CPPFLAGS@
 libvmrpcdbg_la_CPPFLAGS += @VMTOOLS_CPPFLAGS@
+libvmrpcdbg_la_CPPFLAGS += @XDR_CPPFLAGS@
 libvmrpcdbg_la_CPPFLAGS += -I$(top_srcdir)/lib/rpcChannel
 
 libvmrpcdbg_la_LDFLAGS =