forked from Mirrors/flatpak-builder
Hide non-public symbols from libglnx and libxdgapp-common
This avoids exporting glnx_*, calc_sizes(), etc. However, we do want to export xdg_app_error_quark(), so do that. Signed-off-by: Simon McVittie <smcv@debian.org>tingping/wmclass
parent
3a70dcf430
commit
73b0adfe0a
|
@ -43,7 +43,11 @@ EXTRA_DIST =
|
|||
lib_LTLIBRARIES =
|
||||
noinst_LTLIBRARIES = libglnx.la
|
||||
libglnx_srcpath := $(srcdir)/libglnx
|
||||
libglnx_cflags := $(BASE_CFLAGS) "-I$(libglnx_srcpath)"
|
||||
libglnx_cflags := \
|
||||
$(BASE_CFLAGS) \
|
||||
"-I$(libglnx_srcpath)" \
|
||||
$(HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(NULL)
|
||||
libglnx_libs := $(BASE_LIBS)
|
||||
include libglnx/Makefile-libglnx.am.inc
|
||||
|
||||
|
|
|
@ -43,7 +43,15 @@ libxdgapp_common_la_SOURCES = \
|
|||
$(systemd_dbus_built_sources) \
|
||||
$(NULL)
|
||||
|
||||
libxdgapp_common_la_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(XAUTH_CFLAGS) -I$(srcdir)/dbus-proxy
|
||||
libxdgapp_common_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(BASE_CFLAGS) \
|
||||
$(HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(OSTREE_CFLAGS) \
|
||||
$(SOUP_CFLAGS) \
|
||||
$(XAUTH_CFLAGS) \
|
||||
-I$(srcdir)/dbus-proxy \
|
||||
$(NULL)
|
||||
libxdgapp_common_la_LIBADD = libglnx.la $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(XAUTH_LIBS)
|
||||
|
||||
bin_PROGRAMS += \
|
||||
|
|
|
@ -42,7 +42,7 @@ typedef enum {
|
|||
|
||||
#define XDG_APP_PORTAL_ERROR xdg_app_error_quark()
|
||||
|
||||
GQuark xdg_app_error_quark (void);
|
||||
XDG_APP_EXTERN GQuark xdg_app_error_quark (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue