summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypto/libcrypto/buildfile')
-rw-r--r--libcrypto/libcrypto/buildfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/libcrypto/libcrypto/buildfile b/libcrypto/libcrypto/buildfile
index 62045a7..0af8b7c 100644
--- a/libcrypto/libcrypto/buildfile
+++ b/libcrypto/libcrypto/buildfile
@@ -216,12 +216,14 @@ else
'(.+)', \
$msvc ? '\1.lib' : '-l\1')
- # @@ To suppress the 'object file does not define any public symbols'
- # warning we also need to pass /ignore:4221 option to lib.exe. Currently
- # there is no way to do this.
- #
if $msvc
+ {
+ # Suppress the 'object file does not define any public symbols' warning.
+ #
+ c.aoptions += /ignore:4221
+
c.libs += advapi32.lib
+ }
}
# Export options.