* Add test to detect missing iphlpapi linkage on Windows
* Add the required iphlpapi linkage for Windows
* Add support for Mingw
* Simplify platform check
* Add MacOS, Android and BSD
* Add frameworks for MacOS
* accurate MacOS framework
* Fix complie issue on BSD caused by VLA usage
* Fix patch file name
* Add pthread syslink for Linux and BSD platforms
* pcapplusplus: add linux support and fix linkorders
* use add_links() to simplify setting linkorder
* Update xmake.lua
* redundant white space
---------
Co-authored-by: star9029 <hengxings783@gmail.com>
Co-authored-by: c8ef <c8ef@outlook.com>