source: trunk/dports/java/javasqlite/files/patch-Makefile.in-jnilib @ 24325

Last change on this file since 24325 was 24325, checked in by pguyot@…, 14 years ago

new port: java/javasqlite 20060714

File size: 1.0 KB
Line 
1--- Makefile.in 2007-04-22 10:59:59.000000000 +0900
2+++ Makefile.in 2007-04-22 11:06:25.000000000 +0900
3@@ -78,7 +78,7 @@
4        SQLite/ProgressHandler.java \
5        SQLite/StringEncoder.java
6 
7-all:   sqlite.jar libsqlite_jni.la
8+all:   sqlite.jar libsqlite_jni.jnilib
9 
10 SQLite/Constants.java: native/mkconst
11        native/mkconst > SQLite/Constants.java
12@@ -94,8 +94,8 @@
13 sqlite_jni.lo: native/sqlite_jni.h native/sqlite_jni.c
14        $(LIBTOOL) $(CC) -c $(CFLAGS) native/sqlite_jni.c
15 
16-libsqlite_jni.la:      sqlite_jni.lo
17-       $(LIBTOOL) $(CC) -o libsqlite_jni.la sqlite_jni.lo \
18+libsqlite_jni.jnilib:  sqlite_jni.lo
19+       $(LIBTOOL) $(CC) -bundle -o libsqlite_jni.jnilib sqlite_jni.lo \
20            -rpath $(NATIVE_LIB_DIR) $(LIBS)
21 
22 native/mkconst:        native/mkconst.c
23@@ -129,4 +129,4 @@
24        $(INSTALL) -d -m 755 $(DESTDIR)$(JAR_DIR)
25        $(INSTALL) -m 644 sqlite.jar $(DESTDIR)$(JAR_DIR)
26        $(INSTALL) -d -m 755 $(DESTDIR)$(NATIVE_LIB_DIR)
27-       $(LIBTOOL) $(INSTALL) libsqlite_jni.la $(DESTDIR)$(NATIVE_LIB_DIR)
28+       $(LIBTOOL) $(INSTALL) libsqlite_jni.jnilib $(DESTDIR)$(NATIVE_LIB_DIR)
Note: See TracBrowser for help on using the repository browser.