use version-script only for ELF linux

This commit is contained in:
Bruno D. Rodrigues 2014-01-13 17:31:56 +00:00
parent d765a0e7d4
commit d38a0c43b6

View File

@ -180,7 +180,11 @@ else
if ON_ANDROID
libzmq_la_LDFLAGS = -avoid-version -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@
else
if ON_LINUX
libzmq_la_LDFLAGS = -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@ -Wl,--version-script=libzmq.vers
else
libzmq_la_LDFLAGS = -version-info @LTVER@ @LIBZMQ_EXTRA_LDFLAGS@ -Wl
endif
endif
endif