[gobject-introspection] girepository: Only export ^gi?_ symbols



commit 84608743897ef60071757c09216f60f8861f504e
Author: Colin Walters <walters verbum org>
Date:   Tue Nov 9 15:15:00 2010 -0500

    girepository: Only export ^gi?_ symbols
    
    Otherwise it's really easy to unintentionally export unwanted symbols,
    as would happen with the upcoming CMPH import.

 Makefile-girepository.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-girepository.am b/Makefile-girepository.am
index fd9a51f..35123f5 100644
--- a/Makefile-girepository.am
+++ b/Makefile-girepository.am
@@ -55,7 +55,7 @@ libgirepository_1_0_la_SOURCES =			\
 
 libgirepository_1_0_la_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -DG_IREPOSITORY_COMPILATION
 libgirepository_1_0_la_LIBADD = $(GIREPO_LIBS)
-libgirepository_1_0_la_LDFLAGS = -no-undefined -version-number 1:0:0
+libgirepository_1_0_la_LDFLAGS = -no-undefined -version-number 1:0:0 -export-symbols-regex '^gi?_'
 
 libgirepository_parser_la_SOURCES =				\
 	girepository/girmodule.c				\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]