lflags => picker(default => "/MAP='F\$PARSE(\".MAP\",\"\$\@\")'",
debug => "/DEBUG/TRACEBACK",
release => "/NODEBUG/NOTRACEBACK"),
+ # Because of dso_cflags below, we can't set the generic |cflags| here,
+ # as it can't be overriden, so we set separate C flags for libraries
+ # and binaries instead.
+ bin_cflags => add("/NAMES=(AS_IS,SHORTENED)/EXTERN_MODEL=STRICT_REFDEF"),
lib_cflags => add("/NAMES=(AS_IS,SHORTENED)/EXTERN_MODEL=STRICT_REFDEF"),
- # no_inst_lib_cflags is used instead of lib_cflags by descrip.mms.tmpl
- # for object files belonging to selected internal libraries
- no_inst_lib_cflags => "",
+ # For modules specifically, we assume that they only use public
+ # OpenSSL symbols, and therefore don't need to mangle names on
+ # their own.
+ dso_cflags => "",
ex_libs => add(sub { return vms_info()->{zlib} || (); }),
shared_target => "vms-shared",
dso_scheme => "vms",