Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ * gdk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ * configure.in (LIBTOOL_EXPORT_OPTIONS): define LIBTOOL_EXPORT_OPTIONS with options to control symbol export
This commit is contained in:
@ -178,6 +178,11 @@ changequote([,])dnl
|
||||
# Honor aclocal flags
|
||||
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
|
||||
|
||||
# libtool option to control which symbols are exported
|
||||
# right now, symbols starting with _ are not exported
|
||||
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
|
||||
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
|
||||
|
||||
# define a MAINT-like variable REBUILD which is set if Perl
|
||||
# and awk are found, so autogenerated sources can be rebuilt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user