Created include_dependencies function to search the build environment and include the provided list of vendored shared libraries and headers in server installdir
Created include_dependencies function to search the build environment and include the provided list of vendored shared libraries and headers in server installdir

    Set library_search_path precedence ld.so.conf.d > system paths
    For each path, search for the library and copy the first match to ${GREENPLUM_INSTALL_DIR}/lib
    If the file already exists in ${GREENPLUM_INSTALL_DIR}/lib the library will be skipped

    Search /usr/local/include and /usr/include for each vendored header.
    If found, copy header to destination directory ${GREENPLUM_INSTALL_DIR}/include
    If the file already exists in ${GREENPLUM_INSTALL_DIR}/include the header will be skipped

    Vendor pkgconfig files libzstd.pc libuv.pc quicklz.pc

Authored-by: Brent Doil <03e1f2032d25334ebde732e6d4d02d3013f3c423@vmware.com>

adam8157/gpdb,xinzweb/gpdb,lisakowen/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,50wu/gpdb,50wu/gpdb,50wu/gpdb,adam8157/gpdb,xinzweb/gpdb,greenplum-db/gpdb,xinzweb/gpdb,greenplum-db/gpdb,adam8157/gpdb,lisakowen/gpdb,adam8157/gpdb,xinzweb/gpdb,greenplum-db/gpdb,adam8157/gpdb,lisakowen/gpdb,greenplum-db/gpdb,xinzweb/gpdb,50wu/gpdb,50wu/gpdb,xinzweb/gpdb,xinzweb/gpdb,lisakowen/gpdb,xinzweb/gpdb,lisakowen/gpdb,50wu/gpdb,adam8157/gpdb,greenplum-db/gpdb,lisakowen/gpdb,lisakowen/gpdb,adam8157/gpdb,50wu/gpdb,lisakowen/gpdb,50wu/gpdb,greenplum-db/gpdb,adam8157/gpdb