diff dep/animia/Makefile.am @ 237:a7d0d543b334

*: make OS X builds succeed new script: deploy_build.sh, creates the app bundle
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 11:14:44 -0500
parents 4d461ef7d424
children a0eeb2cc7e6d
line wrap: on
line diff
--- a/dep/animia/Makefile.am	Fri Jan 19 00:24:02 2024 -0500
+++ b/dep/animia/Makefile.am	Fri Jan 19 11:14:44 2024 -0500
@@ -7,8 +7,8 @@
 
 if BUILD_OSX
 files_osx = src/fd/xnu.cc src/win/quartz.cc src/util/osx.cc
-cflags_osx =
-libs_osx = Foundation CoreGraphics AppKit objc
+libs_osx = -lobjc
+ldflags_osx = -framework Foundation -framework CoreGraphics -framework ApplicationServices
 endif
 
 if BUILD_LINUX
@@ -57,9 +57,8 @@
 
 libanimia_la_CPPFLAGS = -I$(top_srcdir)/include @DEFS@
 
-libanimia_la_LDFLAGS = -version-info 0:0:0
-
-libanimia_la_CXXFLAGS = $(cflags_osx) $(cflags_x11) $(cflags_wayland)
+libanimia_la_CXXFLAGS = -std=c++17 $(cflags_osx) $(cflags_x11) $(cflags_wayland)
+libanimia_la_LDFLAGS = -version-info 0:0:0 $(ldflags_osx)
 
 libanimia_la_LIBADD = $(libs_wayland) $(libs_x11) $(libs_osx) $(libs_libutil) $(libs_libkvm)