Whamcloud - gitweb
LU-11368 build: link the shared libraries properly 46/33146/2
authorLi Dongyang <dongyangli@ddn.com>
Wed, 12 Sep 2018 12:13:02 +0000 (22:13 +1000)
committerOleg Drokin <green@whamcloud.com>
Fri, 5 Oct 2018 22:28:48 +0000 (22:28 +0000)
commit2ef6910ff42c9bc2a52236ac045c1be5b2e13ea2
tree729ad1e298ba2fb19747c03303860efbb83795b0
parent18637db7ca6fa92ec6ea494a353a5ec46700a30e
LU-11368 build: link the shared libraries properly

Make sure the -l options come after the objects.
Otherwise on distros(e.g. ubuntu18) use --as-needed
by default, we won't actully link against those libs.

Test-Parameters: trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: If828fc409a54e48e0818f8a11087c266d46652c1
Reviewed-on: https://review.whamcloud.com/33146
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-zfs.m4
lustre/utils/Makefile.am