2003-09-25 Yoshinori K. Okuji <okuji@enbug.org>

* genmk.rb (PModule#rule): Make sure to get only symbol names
	from the output of nm.
	Reported by Robert Millan <zeratul2@wanadoo.es>.
This commit is contained in:
okuji 2003-09-25 20:29:32 +00:00
parent 18d9c7cd53
commit 98d150633e
5 changed files with 923 additions and 581 deletions

View file

@ -135,7 +135,7 @@ UNDSYMFILES += #{undsym}
#{undsym}: #{pre_obj}
echo '#{mod_name}' > $@
$(NM) -u -P -p $< >> $@
$(NM) -u -P -p $< | cut -f1 -d' ' >> $@
" + objs.collect_with_index do |obj, i|
src = sources[i]