|
|
@ -3,9 +3,11 @@ if [ -f "${PREFIX}/bin/pEp-mini-json-adapter" ]; then |
|
|
|
exit 0 |
|
|
|
fi |
|
|
|
|
|
|
|
VERSION=$(sh "${SCRIPT_DIR}/get-pEp-version.sh" "JSON_SERVER_ADAPTER_VERSION") |
|
|
|
|
|
|
|
PEP_JSON_ADAPTER_DIR="${TMP_DIR}/pEpJSONServerAdapter" |
|
|
|
if [ ! -d "${PEP_JSON_ADAPTER_DIR}" ]; then |
|
|
|
git clone -b ${JSON_SERVER_ADAPTER_VERSION} https://gitea.pep.foundation/pEp.foundation/pEpJSONServerAdapter.git |
|
|
|
git clone -b ${VERSION} https://gitea.pep.foundation/pEp.foundation/pEpJSONServerAdapter.git |
|
|
|
fi |
|
|
|
|
|
|
|
export CXXFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH}" |
|
|
@ -38,5 +40,6 @@ unset CXX |
|
|
|
unset LDFLAGS |
|
|
|
unset CFLAGS |
|
|
|
unset CC |
|
|
|
|
|
|
|
# Copy Artefact |
|
|
|
cp pEpJSONServerAdapter/server/pEp-mini-json-adapter "${CURRENT_LIB_DIR}/bin/" |