Use proper linker command for drivers on OpenBSD
Use proper linker command for drivers on OpenBSD

This fixes the "Cannot load specified object" / setuid_drv.so: undefined symbol '__guard_local' error that occurs on OpenBSD 5.3. It changes the LD_SHARED variable to use gcc rather than ld. A similar issue is documented here: http://erlang.org/pipermail/erlang-questions/2013-May/073837.html. Tested on OpenBSD 5.3 and FreeBSD 9.

zephyrean/yaws,leoliu/yaws,klacke/yaws,weisslj/yaws,phonohawk/yaws,imtal/yaws,patternmatched/yaws,toraritte/azith,weisslj/yaws,capflam/yaws,bsmr-erlang/yaws,weisslj/yaws,toraritte/azith,capflam/yaws,capflam/yaws,weisslj/yaws,zephyrean/yaws,weisslj/yaws,toraritte/azith,patternmatched/yaws,zephyrean/yaws,patternmatched/yaws,imtal/yaws,ca91/yaws,klacke/yaws,leoliu/yaws,imtal/yaws,namjae/yaws,toraritte/azith,bsmr-erlang/yaws,toraritte/azith,klacke/yaws,namjae/yaws,phonohawk/yaws,weisslj/yaws,klacke/yaws,namjae/yaws,watonyweng/yaws,klacke/yaws,sebgod/yaws,capflam/yaws,bsmr-erlang/yaws,klacke/yaws,imtal/yaws,leoliu/yaws,andreineculau/yaws,zephyrean/yaws,patternmatched/yaws,watonyweng/yaws,toraritte/azith,watonyweng/yaws,sebgod/yaws,leoliu/yaws,watonyweng/yaws,sebgod/yaws,phonohawk/yaws,phonohawk/yaws,zephyrean/yaws,leoliu/yaws,phonohawk/yaws,namjae/yaws,imtal/yaws,sebgod/yaws,watonyweng/yaws,namjae/yaws,phonohawk/yaws,andreineculau/yaws,namjae/yaws,capflam/yaws,andreineculau/yaws,andreineculau/yaws,watonyweng/yaws,capflam/yaws,leoliu/yaws,sebgod/yaws,klacke/yaws,patternmatched/yaws,sebgod/yaws,imtal/yaws,patternmatched/yaws,bsmr-erlang/yaws,ca91/yaws,ca91/yaws,capflam/yaws,bsmr-erlang/yaws,zephyrean/yaws,namjae/yaws,ca91/yaws,andreineculau/yaws,ca91/yaws,ca91/yaws,zephyrean/yaws,ca91/yaws,phonohawk/yaws,sebgod/yaws,watonyweng/yaws,weisslj/yaws,patternmatched/yaws,bsmr-erlang/yaws,imtal/yaws,leoliu/yaws,toraritte/azith,bsmr-erlang/yaws