Files

32 lines
1003 B
Diff
Raw Permalink Normal View History

2024-05-26 02:37:17 +04:00
Fix `#error Unsupported architecture` in headers of older SDKs and library
path.
2024-05-25 23:25:45 +04:00
--- configure.orig 2023-10-30 22:42:54
2024-05-26 02:37:17 +04:00
+++ configure 2024-05-26 02:06:09
2024-05-25 23:25:45 +04:00
@@ -3774,7 +3774,7 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
+if false
then :
have_arch_x86_64=yes
else $as_nop
@@ -3793,7 +3793,7 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"
+if false
then :
have_arch_arm64=yes
else $as_nop
2024-05-26 02:37:17 +04:00
@@ -4075,7 +4075,7 @@
sparc-sun-*) DAPI_LD_SHARED="\$(LD) -G -Bsymbolic \
-o \$@ \$(DECTALK_TTS_OBJS) \$(LIBS)" ;;
*-apple-darwin*) DAPI_LD_SHARED="\$(CC) -dynamic -dynamiclib -dylib \
- -o \$@ \$(DECTALK_TTS_OBJS) \$(LIBS) -Wl,-install_name,libtts_\$(LANG_CODE).so ${UNIVERSAL_BINARY}" ;;
+ -o \$@ \$(DECTALK_TTS_OBJS) \$(LIBS) -Wl,-rpath,@loader_path/../lib/ -Wl,-install_name,@rpath/libtts_\$(LANG_CODE).so ${UNIVERSAL_BINARY}" ;;
esac
ML_ALL="../build/\$(OS_VERSION)/\$(LANG_CODE)/\$(ML_OUT)/libtts.a ../build/\$(OS_VERSION)/\$(LANG_CODE)/\$(ML_OUT)/libtts.so"