[vlc-devel] [PATCH 2/2] sd/bonjour: Use OBJCFLAGS instead of CFLAGS
Marvin Scholz
epirat07 at gmail.com
Mon Oct 23 15:56:12 CEST 2017
This is an Objective C module, therefore it should use OBJCFLAGS instead
of CFLAGS.
---
modules/services_discovery/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/services_discovery/Makefile.am b/modules/services_discovery/Makefile.am
index c9e6228114..efd9cf6708 100644
--- a/modules/services_discovery/Makefile.am
+++ b/modules/services_discovery/Makefile.am
@@ -80,7 +80,7 @@ sd_LTLIBRARIES += $(LTLIBmicrodns)
EXTRA_LTLIBRARIES += libmicrodns_plugin.la
libbonjour_plugin_la_SOURCES = services_discovery/bonjour.m
-libbonjour_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -fobjc-arc
+libbonjour_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' -Wl,-framework,Foundation
if HAVE_DARWIN
sd_LTLIBRARIES += libbonjour_plugin.la
--
2.13.5 (Apple Git-94)
More information about the vlc-devel
mailing list