- The Apple JVM also requires the .jnilib extension.

- Use -dynamiclib instead of -bundle as per Apple's recommendation


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4489 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Landon Fuller
2006-12-19 19:39:52 +00:00
parent 5bb6b162d4
commit 7e4e898021
2 changed files with 2 additions and 2 deletions
@@ -22,7 +22,7 @@ INSTALL_PATH=${ROOT}/dist/lib/`uname -m`-Darwin
INCLUDES=-I.. -I/System/Library/Frameworks/JavaVM.framework/Headers
LIBRARIES=
TARGET=libsignal.dylib
TARGET=libsignal.jnilib
#
# Target definitions
@@ -39,7 +39,7 @@ ${TARGET}: com_threerings_util_signal_SignalManager.c
-o com_threerings_util_signal_SignalManager.o
@echo "Creating $@"
@${CC} -o ${TARGET} com_threerings_util_signal_SignalManager.o \
${LIBRARIES} ${LIBRARIES_PATH} -bundle
${LIBRARIES} ${LIBRARIES_PATH} -dynamiclib
clean:
-${RM} -f *.o ${TARGET}