Use OBJCXXFLAGS to generate deps for .mm

This commit is contained in:
Jonathan Schleifer 2018-03-11 00:06:17 +01:00
parent 43a9c14622
commit a44616d977
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
2 changed files with 3 additions and 3 deletions

View file

@ -297,10 +297,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}'