Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
endif
libv4l_mplane_la_SOURCES = libv4l-mplane.c
-libv4l_mplane_la_CPPFLAGS = -fvisibility=hidden -std=gnu99
+libv4l_mplane_la_CPPFLAGS = $(CFLAG_VISIBILITY) -std=gnu99
libv4l_mplane_la_LDFLAGS = -avoid-version -module -shared -export-dynamic -lpthread
endif
libv4l2rds_la_SOURCES = libv4l2rds.c
-libv4l2rds_la_CPPFLAGS = -fvisibility=hidden $(ENFORCE_LIBV4L_STATIC) -std=gnu99
+libv4l2rds_la_CPPFLAGS = $(CFLAG_VISIBILITY) $(ENFORCE_LIBV4L_STATIC) -std=gnu99
libv4l2rds_la_LDFLAGS = $(LIBV4L2RDS_VERSION) -lpthread $(ENFORCE_LIBV4L_STATIC)