FreeBSD, at least, can restrict symbols in a shared library - so use the
authorBen Laurie <ben@links.org>
Sat, 27 Feb 2016 16:19:34 +0000 (16:19 +0000)
committerBen Laurie <ben@links.org>
Sat, 27 Feb 2016 16:23:25 +0000 (16:23 +0000)
Linux target that does that.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Makefile.shared

index 2e9f3f5..c556129 100644 (file)
@@ -562,7 +562,8 @@ symlink.cygwin symlink.alpha-osf1 symlink.tru64 symlink.tru64-rpath:
 
 # Compatibility targets
 link_dso.bsd-gcc-shared link_dso.linux-shared link_dso.gnu-shared: link_dso.gnu
-link_shlib.bsd-gcc-shared link_shlib.gnu-shared: link_shlib.gnu
+link_shlib.bsd-gcc-shared: link_shlib.linux-shared
+link_shlib.gnu-shared: link_shlib.gnu
 link_app.bsd-gcc-shared link_app.linux-shared link_app.gnu-shared: link_app.gnu
 symlink.bsd-gcc-shared symlink.bsd-shared symlink.linux-shared symlink.gnu-shared: symlink.gnu
 link_dso.bsd-shared: link_dso.bsd