From 1fd23e21a5fa3b91a45c85e980ef006bf8cfe0f9 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 8 Apr 2017 21:50:48 -0700 Subject: We use libui with dumpcap, which is built PIE, so libui should be, too. Change-Id: Ic469517dc414e1eb62b27b6d2b0b0a7837790bf9 Reviewed-on: https://code.wireshark.org/review/20975 Reviewed-by: Guy Harris --- ui/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/Makefile.am') diff --git a/ui/Makefile.am b/ui/Makefile.am index 58166e1812..0a698a60df 100644 --- a/ui/Makefile.am +++ b/ui/Makefile.am @@ -161,6 +161,14 @@ EXTRA_DIST = \ BUILT_SOURCES = $(GENERATED_HEADER_FILES) +# +# This is used to build dumpcap, and dumpcap is, if possible, built as +# a position-independent executable (for address space layout randomization, +# as it might be running with extra privileges), so this library needs +# to be built that way as well. +# +libui_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) + CLEANFILES = \ doxygen-ui.tag \ libui.a \ -- cgit v1.2.1