Set CYGWIN_RPC_LIB by using cygwin version to determine rpc lib name.

This commit is contained in:
Janet Anderson
2010-10-22 09:33:44 -05:00
parent 2a3a92504c
commit a3234c9130

View File

@@ -69,3 +69,9 @@ LIBNAME = $(LIBNAME_$(SHARED_LIBRARIES))
# dll install location
INSTALL_SHRLIB = $(INSTALL_BIN)
# Cygwin supports the sunrpc package in versions before 1.7.
# Cygwin supports the tirpc (Transport Independent RPC) package in versions 1.7 and later.
# uname -r return a string like "1.76(0230/5/3)"
CYGWIN_RPC_LIB= $(if $(findstring 1.5,$(shell uname -r)),rpc,tirpc)