diff --git a/sys/applemedia/Makefile.am b/sys/applemedia/Makefile.am index 6ef2690f10..ccf675cf89 100644 --- a/sys/applemedia/Makefile.am +++ b/sys/applemedia/Makefile.am @@ -9,10 +9,7 @@ libgstapplemedia_la_SOURCES = \ vtapi.c \ dynapi.c -libgstapplemedia_la_CFLAGS = \ - $(GST_CFLAGS) \ - $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) \ +libgstapplemedia_la_CPPFLAGS = \ -Dgst_dyn_api_get_type=gst_dyn_api_priv_get_type \ -Dgst_dyn_api_debug=gst_dyn_api_priv_debug \ -D_gst_dyn_api_new=_gst_dyn_api_priv_new \ @@ -24,6 +21,11 @@ libgstapplemedia_la_CFLAGS = \ -Dgst_core_media_ctx_new=gst_core_media_ctx_priv_new \ -Dgst_core_media_ctx_get_type=gst_core_media_ctx_priv_get_type +libgstapplemedia_la_CFLAGS = \ + $(GST_CFLAGS) \ + $(GST_BASE_CFLAGS) \ + $(GST_PLUGINS_BASE_CFLAGS) + libgstapplemedia_la_OBJCFLAGS = \ $(GST_OBJCFLAGS) \ $(GST_BASE_CFLAGS) \