ITS#8697 - For Windows builds with newer MINGW, remove refptr symbols

mappings from slapd.def
This commit is contained in:
Quanah Gibson-Mount 2017-07-20 17:11:01 -07:00
parent b6df3cef07
commit 50d1588b2e

View file

@ -210,7 +210,7 @@ slapd.def: libbackends.a liboverlays.a version.o
dlltool --exclude-symbols main,ServiceMain@8 --export-all-symbols \
--output-def $@.tmp $$objs;
echo EXPORTS > $@
$(SED) -e 1,2d -e 's/ @ [0-9][0-9]*//' $@.tmp | sort >> $@
$(SED) -e 1,2d -e 's/ @ [0-9][0-9]*//' -e '/\.refptr\./d' $@.tmp | sort >> $@
$(RM) $@.tmp
symdummy.c: slapd.def