diff --git a/default/scripts/system-resources.sh b/default/scripts/system-resources.sh index 189dd38..70887be 100644 --- a/default/scripts/system-resources.sh +++ b/default/scripts/system-resources.sh @@ -68,8 +68,10 @@ if [ ${ARCH_BASE} == 'darwin' ]; then cp /opt/local/lib/libgdk-3.0.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/. dylibbundler -of -b -x ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgtk-3.0.dylib -p @executable_path/../lib -d ${OUTPUT_DIR}${INSTALL_PREFIX}/lib install_name_tool -id @executable_path/../lib/libgtk-3.0.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgtk-3.0.dylib + rcodesign sign ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgtk-3.0.dylib dylibbundler -of -b -x ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgdk-3.0.dylib -p @executable_path/../lib -d ${OUTPUT_DIR}${INSTALL_PREFIX}/lib install_name_tool -id @executable_path/../lib/libgdk-3.0.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgdk-3.0.dylib + rcodesign sign ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libgdk-3.0.dylib mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}/share/glib-2.0 mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}/share/mime mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}/share/icons diff --git a/scripts/package-darwin.sh b/scripts/package-darwin.sh index fb709d1..484e08a 100644 --- a/scripts/package-darwin.sh +++ b/scripts/package-darwin.sh @@ -67,6 +67,7 @@ EOT fi if [ ! -z "$(otool -L libexec/$(basename $binfile) | grep QtCore)" ]; then install_name_tool -add_rpath @executable_path/../Frameworks libexec/$(basename $binfile) + rcodesign sign libexec/$(basename $binfile) cat >> $binfile << EOT export QT_PLUGIN_PATH="\$release_topdir_abs/lib/qt5/plugins" export QT_LOGGING_RULES="*=false"