Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
make mod_caucho Makefile solaris fix
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10319 9c94448d-38f1-0310-a231-d98308ff1ebf
  • Loading branch information
nam committed Mar 25, 2015
1 parent 0ff2d34 commit 885dba0
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions configure.ac.in
Original file line number Diff line number Diff line change
Expand Up @@ -921,12 +921,24 @@ if test -z "${jni_ld_shlib}"; then
if test -n "$b64"; then
CFLAGS="$CFLAGS -m64"
plugin_cflags_shlib="-m64"
plugin_ldflags_shlib="-m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9"

case $target_cpu in
*86*)
plugin_ldflags_shlib="-m64 -R /usr/sfw/lib/64";;
*)
plugin_ldflags_shlib="-m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9";;
esac
fi

if test -n "${b64_jni}"; then
jni_cflags="$jni_cflags -m64"
jni_ldflags_shlib="-m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9"

case $target_cpu in
*86*)
jni_ldflags_shlib="-m64 -R /usr/sfw/lib/64";;
*)
jni_ldflags_shlib="-m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9";;
esac
fi

jni_ldflags_shlib="$jni_ldflags_shlib -shared"
Expand Down Expand Up @@ -1048,7 +1060,11 @@ fi

if test -z "${apache_ldflags_shlib}"; then
apache_cflags_shlib=$plugin_cflags_shlib
apache_ld_shlib=$plugin_ld_shlib

if test -n "$(plugin_ld_shlib)"; then
apache_ld_shlib=$plugin_ld_shlib
fi

# apache_ldflags_shlib=$plugin_ldflags_shlib
apache_libs_shlib=$plugin_libs_shlib
fi
Expand Down

0 comments on commit 885dba0

Please sign in to comment.