diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-06-03 11:22:25 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-06-03 11:24:02 +0200 |
| commit | 14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897 (patch) | |
| tree | a70b32f9dea230602345dd766aa87306463d6378 | |
| parent | 8aadadef4d74937ee05e3d61c646ae148d3fad40 (diff) | |
| download | lasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.tar.gz lasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.tar.xz lasso-14b5c395cc3a4e9fcc0af456a5176f9a8a7cc897.zip | |
Change the glob expression to match darwin $host_os
Also use the $DARWIN flag to control the setting of JNI_EXTRA_LDFLAGS.
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 6db53848..dd04eb89 100644 --- a/configure.ac +++ b/configure.ac @@ -74,7 +74,7 @@ case "${host}" in ;; esac ;; - *-darwin*) + *darwin*) DARWIN=1 ;; esac @@ -323,10 +323,9 @@ else fi dnl Support JNI under MacOsX -case $host_os in -*-darwin*) +if [ "$DARWIN" = 1 ]; then JNI_EXTRA_LDFLAGS="-shrext .jnilib" ;; -esac +fi dnl Conditional java sub dir test. AM_CONDITIONAL([JAVA_ENABLED],[test "x$enable_java" = "xyes"]) |
