Replace MORPHOS_LIB with more generic AMIGA_LIB
This commit is contained in:
parent
a44616d977
commit
3c3a971059
2 changed files with 53 additions and 43 deletions
|
@ -36,6 +36,15 @@ AC_DEFUN([BUILDSYS_INIT], [
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$host" in
|
||||
m68k-*-amigaos*)
|
||||
AC_SUBST(AMIGALIB_CFLAGS, -fbaserel)
|
||||
;;
|
||||
powerpc-*-morphos*)
|
||||
AC_SUBST(AMIGALIB_CFLAGS, -mbaserel32)
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CONFIG_COMMANDS_PRE([
|
||||
AC_SUBST(CC_DEPENDS, $GCC)
|
||||
AC_SUBST(CXX_DEPENDS, $GXX)
|
||||
|
@ -297,10 +306,10 @@ AC_DEFUN([BUILDSYS_FRAMEWORK], [
|
|||
AC_REQUIRE([BUILDSYS_CHECK_IOS])
|
||||
AC_REQUIRE([BUILDSYS_SHARED_LIB])
|
||||
|
||||
AC_CHECK_TOOL(CODESIGN, codesign)
|
||||
|
||||
case "$host_os" in
|
||||
darwin*)
|
||||
AC_CHECK_TOOL(CODESIGN, codesign)
|
||||
|
||||
AS_IF([test x"$host_is_ios" = x"yes"], [
|
||||
FRAMEWORK_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
|
||||
FRAMEWORK_LDFLAGS_INSTALL_NAME='-Wl,-install_name,@executable_path/Frameworks/$$out/$${out%.framework}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue