CMake: limit the -pie linker option to executables
authorPeter Wu <peter@lekensteyn.nl>
Wed, 17 Oct 2018 20:47:34 +0000 (22:47 +0200)
committerAnders Broman <a.broman58@gmail.com>
Thu, 18 Oct 2018 20:04:32 +0000 (20:04 +0000)
commit021b305bcbf8b9cbd8f7a600c69c9b0e18ff9ffb
treedbd980e03eae265571656f6a576690c1745e802e
parentf8022a5502ec2f35f12b1b966c6f8dca111a98c4
CMake: limit the -pie linker option to executables

WS_LINK_FLAGS also apply to libraries, but -pie has no effect on them.

Change-Id: I9c7fde228c5faf20edf0ad45692577070b24a280
Reviewed-on: https://code.wireshark.org/review/30239
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
CMakeLists.txt