lib: Use -export-symbol-regex
Just a small step towards being a better library.
This commit is contained in:
parent
8aa48a5f9c
commit
6fc9483887
|
|
@ -51,7 +51,7 @@ libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
|
|||
endif
|
||||
|
||||
libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libgsystem -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_INTERNAL_GIO_UNIX_CFLAGS)
|
||||
libostree_la_LDFLAGS = -avoid-version -Bsymbolic-functions
|
||||
libostree_la_LDFLAGS = -avoid-version -Bsymbolic-functions -export-symbols-regex '^ostree_'
|
||||
libostree_la_LIBADD = libotutil.la $(OT_INTERNAL_GIO_UNIX_LIBS)
|
||||
|
||||
if USE_LIBARCHIVE
|
||||
|
|
|
|||
Loading…
Reference in New Issue