Subject: | compile issue on MacOSX |
Could you apply a tiny fix like bekow?
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,9 +11,10 @@ $include = prompt("Where can I find libsmbclient.h ?", $include);
warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
# path libsmbclient.so
-my $lib = try_to_find("libsmbclient.so");
-$lib = prompt("Where can I find libsmbclient.so ?",$lib);
-warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
+my $libname = $^O eq "darwin" ? "libsmbclient.dylib" : "libsmbclient.so";
+my $lib = try_to_find($libname);
+$lib = prompt("Where can I find $libname ?",$lib);
+warn_user($libname) if (!-r "$lib/$libname");
# tests demande ?
my $ans =