ObjFW  Diff

Differences From Artifact [ee213f3b30]:

  • File configure.ac — part of check-in [b87dab1361] at 2023-01-05 18:35:58 on branch trunk — Don't use -static-libgcc on Windows

    It has a tendency to break exceptions, as only TDM-GCC has patches to
    make it work to use a .dll while statically linking libgcc.

    While in the CLANG64 environment, this is not an issue, the upside of it
    is minimal: It only statically links libunwind instead. While libgcc_s
    contains some things that aren't always needed, what is provided by
    libunwind is always needed. (user: js, size: 58297) [annotate] [blame] [check-ins using]

To Artifact [0e7fa3f396]:


416
417
418
419
420
421
422


423
424
425
426
427
428
429
	;;
esac

AC_ARG_ENABLE(shared,
	AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
	BUILDSYS_SHARED_LIB


	AC_SUBST(OBJFW_SHARED_LIB, '${LIB_PREFIX}objfw${LIB_SUFFIX}')
	AC_SUBST(EXCEPTIONS_LIB_A, "exceptions.lib.a")
	AC_SUBST(FORWARDING_LIB_A, "forwarding.lib.a")
	AC_SUBST(LOOKUP_ASM_LIB_A, "lookup-asm.lib.a")

	BUILDSYS_FRAMEWORK([
		AC_SUBST(OBJFW_FRAMEWORK, "ObjFW.framework")







>
>







416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
	;;
esac

AC_ARG_ENABLE(shared,
	AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
	BUILDSYS_SHARED_LIB
	BUILDSYS_PLUGIN

	AC_SUBST(OBJFW_SHARED_LIB, '${LIB_PREFIX}objfw${LIB_SUFFIX}')
	AC_SUBST(EXCEPTIONS_LIB_A, "exceptions.lib.a")
	AC_SUBST(FORWARDING_LIB_A, "forwarding.lib.a")
	AC_SUBST(LOOKUP_ASM_LIB_A, "lookup-asm.lib.a")

	BUILDSYS_FRAMEWORK([
		AC_SUBST(OBJFW_FRAMEWORK, "ObjFW.framework")