Changeset View
Changeset View
Standalone View
Standalone View
net-im/libsignal-client/Makefile
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | |||||
# https://github.com/signalapp/libsignal-client/issues/141 | # https://github.com/signalapp/libsignal-client/issues/141 | ||||
MAKE_ENV= CARGO_PROFILE_RELEASE_LTO=thin \ | MAKE_ENV= CARGO_PROFILE_RELEASE_LTO=thin \ | ||||
OPENSSL_INCLUDE_DIR=${OPENSSLINC} \ | OPENSSL_INCLUDE_DIR=${OPENSSLINC} \ | ||||
OPENSSL_LIB_DIR=${OPENSSLLIB} \ | OPENSSL_LIB_DIR=${OPENSSLLIB} \ | ||||
RUSTC_BOOTSTRAP=1 | RUSTC_BOOTSTRAP=1 | ||||
PLIST_FILES= lib/libsignal_jni.so | PLIST_FILES= lib/libsignal_jni.so | ||||
do-install: | do-install: | ||||
${INSTALL_LIB} ${CARGO_TARGET_DIR}/release/libsignal_jni.so \ | ${INSTALL_LIB} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/libsignal_jni.so \ | ||||
${STAGEDIR}${PREFIX}/lib/ | ${STAGEDIR}${PREFIX}/lib/ | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |