- 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:
@@ -22,7 +22,7 @@ INSTALL_PATH=${ROOT}/dist/lib/`uname -m`-Darwin
|
|||||||
|
|
||||||
INCLUDES=-I.. -I/System/Library/Frameworks/JavaVM.framework/Headers
|
INCLUDES=-I.. -I/System/Library/Frameworks/JavaVM.framework/Headers
|
||||||
LIBRARIES=
|
LIBRARIES=
|
||||||
TARGET=libsignal.dylib
|
TARGET=libsignal.jnilib
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target definitions
|
# Target definitions
|
||||||
@@ -39,7 +39,7 @@ ${TARGET}: com_threerings_util_signal_SignalManager.c
|
|||||||
-o com_threerings_util_signal_SignalManager.o
|
-o com_threerings_util_signal_SignalManager.o
|
||||||
@echo "Creating $@"
|
@echo "Creating $@"
|
||||||
@${CC} -o ${TARGET} com_threerings_util_signal_SignalManager.o \
|
@${CC} -o ${TARGET} com_threerings_util_signal_SignalManager.o \
|
||||||
${LIBRARIES} ${LIBRARIES_PATH} -bundle
|
${LIBRARIES} ${LIBRARIES_PATH} -dynamiclib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-${RM} -f *.o ${TARGET}
|
-${RM} -f *.o ${TARGET}
|
||||||
|
|||||||
Reference in New Issue
Block a user