diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-09 11:50:06 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-09 11:50:06 +0000 |
commit | 39f91766eaca3808c750a5576ff156fcc6cba16e (patch) | |
tree | a437ef0d424c5702a855ebda07312bc2969b5be8 /packages/jamvm/files/debian-jni.patch | |
parent | 570e63a2f80ccff168d0ab9fd23dc7ed7aa411e3 (diff) | |
parent | e6fe7d02c06ed81dab8e843d22d7510b8bdfeeea (diff) |
merge of '3381ae4a99275c36eccde0920ee34b936bb7d58c'
and 'c11c3170aaefc8aa258777e4a5f0e932f9c63915'
Diffstat (limited to 'packages/jamvm/files/debian-jni.patch')
-rw-r--r-- | packages/jamvm/files/debian-jni.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/jamvm/files/debian-jni.patch b/packages/jamvm/files/debian-jni.patch new file mode 100644 index 0000000000..040163da69 --- /dev/null +++ b/packages/jamvm/files/debian-jni.patch @@ -0,0 +1,19 @@ +--- src/dll.c.orig 2004-09-09 15:48:45.000000000 +0000 ++++ src/dll.c 2004-09-09 15:50:32.000000000 +0000 +@@ -189,6 +189,16 @@ + #ifndef NO_JNI + /* Init hash table, and create lock */ + initHashTable(hash_table, HASHTABSZE, TRUE); ++ ++ /* XXX: Add Debian JNI directory. */ ++ char* path = getenv("LD_LIBRARY_PATH"); ++ ++ if (path != NULL) ++ path = strcat(path, ":OE_LIBDIR_JNI"); ++ else ++ path = "OE_LIBDIR_JNI"; ++ ++ setenv("LD_LIBRARY_PATH", path, 1); + #endif + } + |