[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
export_symbols_regex
From: |
Simon Patarin |
Subject: |
export_symbols_regex |
Date: |
Sat, 30 Mar 2002 00:44:00 +0100 (MET) |
Hi,
It seems that the regular expression restricting exported symbols is not
checked for dlpreopened libraries. I am not sure whether this is a
"feature" or not, but I think it shoud not be (well, otherwise I would not
submit a patch! :). Such libraries are often modules written by the
developper of the application and it is not always suitable to export
every symbol there.
Simon Patarin
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.1095
diff -u -r1.1095 ChangeLog
--- ChangeLog 16 Mar 2002 18:39:42 -0000 1.1095
+++ ChangeLog 29 Mar 2002 23:33:50 -0000
@@ -1,3 +1,8 @@
+2002-03-29 Simon Patarin <address@hidden>
+
+ * ltmain.in (export_symbols_regex): regular expression restricting
+ exported symbols is not checked for dlpreopend libraries.
+
2002-03-16 Gary V. Vaughan <address@hidden>
* TODO: Removed obsolete comments about RMS' package system.
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.290
diff -u -r1.290 ltmain.in
--- ltmain.in 14 Mar 2002 21:43:50 -0000 1.290
+++ ltmain.in 29 Mar 2002 23:33:59 -0000
@@ -3800,6 +3800,11 @@
$mv "$nlist"T "$nlist"
fi
+ if test -n "$export_symbols_regex"; then
+ $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ $run eval '$mv "$nlist"T "$nlist"'
+ fi
+
# Try sorting and uniquifying the output.
if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- export_symbols_regex,
Simon Patarin <=