diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-08 21:50:48 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-09 04:51:16 +0000 |
commit | 1fd23e21a5fa3b91a45c85e980ef006bf8cfe0f9 (patch) | |
tree | 4276cdaff5d693fa82a516e0d05dd786e82acc48 /ui | |
parent | 77cad8561cec1699d7a4317e34c5590d566c9eb8 (diff) |
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 <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
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 \ |