Changeset 15435


Ignore:
Timestamp:
Aug 11, 2012, 8:58:41 PM (7 years ago)
Author:
gb
Message:

Look for JVMINCLUDE in a couple of plausible places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/x86-headers/jni/C/populate.sh

    r15434 r15435  
    11#!/bin/sh
    2 JVMINCLUDE=/usr/lib/jvm/java-6-openjdk-i386/include
     2if [ -e /usr/lib/jvm/java-6-openjdk-i386/include ]; then
     3 JVMINCLUDE=/usr/lib/jvm/java-6-openjdk-i386/include
     4elif [ -e /usr/lib/jvm/java-6-openjdk/include ]; then
     5 JVMINCLUDE=/usr/lib/jvm/java-6-openjdk/include
     6else
     7 echo Fix JVMINCLUDE and try again ...
     8fi
    39ARCH_SUBDIR=i386-linux-gnu
    410CFLAGS="-isystem /usr/include/$ARCH_SUBDIR -m32 -I${JVMINCLUDE}/linux";export CFLAGS
Note: See TracChangeset for help on using the changeset viewer.