Permalink
Browse files

Makefile condition

  • Loading branch information...
1 parent 7b81eb8 commit fcb8d98d171f4e38c876748408fd1b9fd4965614 @felipefedel felipefedel committed Dec 31, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Makefile
View
@@ -25,6 +25,12 @@ JDBC_CONFIG = jdbc_config
SHLIB_LINK = -ljvm
+UNAME = $(shell uname)
+
+ifeq ($(UNAME), Darwin)
+ SHLIB_LINK = -I/System/Library/Frameworks/JavaVM.framework/Headers -L/System/Library/Frameworks/JavaVM.framework/Libraries -ljvm -framework JavaVM
+endif
+
TRGTS = JAVAFILES
JAVA_SOURCES = \

0 comments on commit fcb8d98

Please sign in to comment.