Add correct library names for macOS
This commit is contained in:
@@ -269,6 +269,8 @@ main(int argc, char **argv)
|
||||
/* Try loading the DLL. */
|
||||
#ifdef _WIN32
|
||||
pcap_handle = dynld_module("wpcap.dll", pcap_imports);
|
||||
#elif defined __APPLE__
|
||||
pcap_handle = dynld_module("libpcap.dylib", pcap_imports);
|
||||
#else
|
||||
pcap_handle = dynld_module("libpcap.so", pcap_imports);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user