Permalink
Browse files

Added mac support.

  • Loading branch information...
2 parents e43b332 + 32841c2 commit 01972073e293052379fe24eb9556867173da8b1a @dedeibel committed May 14, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 native-build.pl
  2. BIN native-lib/hyphen-darwin-x86-64.jnilib
View
@@ -80,8 +80,16 @@ ()
chdir $outputDir or die "Unable to chdir to $outputDir: $!";
opendir D, "." or die "Urgh: $!";
print "searching for libhyphen in output directory\n";
+<<<<<<< HEAD
my ($output) = grep {
unless (!readlink($_) and /^libhyphen\.(so|dylib$)\..*/) {
+=======
+# Name examples:
+# Linux libhyphen.so.0.2.1
+# Mac libhyphen.0.dylib
+ my ($output) = grep {
+ unless (!readlink($_) and /^libhyphen(\.\d+)*\.(so|dylib$)(\.\d+)*/) {
+>>>>>>> 32841c2605e13c50c56d748f7653ea026285d2ef
print " $_ ... skipping\n"; 0;
}
else {
Binary file not shown.

0 comments on commit 0197207

Please sign in to comment.