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

Last change on this file since 66262 was 66262, checked in by ryandesign@…, 11 years ago

javasqlite: update to 20100131 (see #19945) and turn off universal variant which doesn't produce universal software

File size: 1.3 KB
Line 
1--- Makefile.in.orig    2009-04-21 00:34:35.000000000 -0700
2+++ Makefile.in 2009-09-10 17:08:10.000000000 -0700
3@@ -110,7 +110,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 VERSION
11        native/mkconst > SQLite/Constants.java
12@@ -141,8 +141,8 @@
13 $(SQLITE3_A10N_O):     $(SQLITE3_A10N_C)
14        $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(SQLITE3_A10N_C)
15 
16-libsqlite_jni.la:      sqlite_jni.lo $(SQLITE3_A10N_O)
17-       $(LIBTOOL) --mode=link $(CC) -o libsqlite_jni.la sqlite_jni.lo \
18+libsqlite_jni.jnilib:  sqlite_jni.lo $(SQLITE3_A10N_O)
19+       $(LIBTOOL) --mode=link $(CC) -bundle -o libsqlite_jni.jnilib sqlite_jni.lo \
20            $(SQLITE3_A10N_O) -rpath $(NATIVE_LIB_DIR) \
21            -module -avoid-version $(LIBS)
22 
23@@ -200,11 +200,11 @@
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) --mode=install $(INSTALL) libsqlite_jni.la \
28+       $(LIBTOOL) --mode=install $(INSTALL) libsqlite_jni.jnilib \
29            $(DESTDIR)$(NATIVE_LIB_DIR)
30 
31 uninstall:
32        $(RM) $(DESTDIR)$(JAR_DIR)/sqlite.jar
33        $(LIBTOOL) --mode=uninstall $(RM) \
34-           $(DESTDIR)$(NATIVE_LIB_DIR)/libsqlite_jni.la
35+           $(DESTDIR)$(NATIVE_LIB_DIR)/libsqlite_jni.jnilib
36 
Note: See TracBrowser for help on using the repository browser.