Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some more information about how to compile things for JVM.
Hopefully this'll let NativeCall with the JVM backend compile libs on Windows
platforms.
  • Loading branch information
arnsholt committed Mar 15, 2014
1 parent ce3915e commit f13dca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/build/gen-jvm-properties.pl
Expand Up @@ -31,6 +31,7 @@
# in the future, I found this to be an invaluable reference:
# http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary
my $ccdlflags = "$Config{cccdlflags} $Config{ccdlflags}";
my $ldout = $^O eq 'MSWin32'? '-out:' : '-o';

print <<"END";
# This file automatically generated by $0
Expand All @@ -45,6 +46,8 @@
nativecall.ccflags=$Config{ccflags}
nativecall.ccdlflags=$ccdlflags
nativecall.ld=$Config{ld}
nativecall.ldout=$ldout
nativecall.ldflags=$Config{ldflags}
nativecall.lddlflags=$Config{lddlflags}
nativecall.libs=$Config{libs}
END

0 comments on commit f13dca0

Please sign in to comment.