Skip to content

Commit

Permalink
OSX 64 bit target for NativeCall
Browse files Browse the repository at this point in the history
  • Loading branch information
drKreso committed Mar 2, 2013
1 parent e79c768 commit 86a3b20
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Configure.pl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@
system_or_die('cd 3rdparty\dyncall && Configure.bat' . $configure_args);
$config{'dyncall_build'} = "cd 3rdparty/dyncall && $make BUILD_DIR=. -f GNUmakefile";
} else {
system_or_die('cd 3rdparty/dyncall && sh configure');
my $target_args = '';
#assume it's 64 bit for OSX, not perfect but better than nothing
if ($^O eq 'darwin') {
$target_args = " --target-x64";
}
system_or_die('cd 3rdparty/dyncall && sh configure' . $target_args);

if ($^O eq 'netbsd') {
$config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make -f BSDmakefile";
} else {
Expand Down

0 comments on commit 86a3b20

Please sign in to comment.