Changeset 37405 for main


Ignore:
Timestamp:
2023-03-03T16:57:52+13:00 (14 months ago)
Author:
davidb
Message:

Change to using JavaNativeFoundation framework. Works for newer xcode installs. Older (Catalina) Mac found to still need JavaVM argument -- a check needs to be add into the and the 'mg' and 'mgpp' files to control which framework is specified in JNILDFLAGS

Location:
main/trunk/greenstone3/src/packages/javagdbm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/packages/javagdbm/configure

    r35573 r37405  
    40284028  JNIINC="-I\$(JAVA_HOME)/include/darwin -I\$(JAVA_HOME)/include "
    40294029  JNISUFFIX="jnilib"
    4030   JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
     4030  JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaNativeFoundation"
    40314031fi
    40324032if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
  • main/trunk/greenstone3/src/packages/javagdbm/configure.in

    r35376 r37405  
    214214  JNIINC="-I\$(JAVA_HOME)/include/darwin -I\$(JAVA_HOME)/include "
    215215  JNISUFFIX="jnilib"
    216   JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
     216  JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaNativeFoundation"
    217217fi
    218218if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
Note: See TracChangeset for help on using the changeset viewer.