aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-04-22 18:39:52 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-04-23 23:19:40 +0000
commit900b9f137910c0ad0fe95d7354af8315ffeb0b04 (patch)
tree5c08e28a7f35db6ed8200d1cd5006ea568acc892 /CMakeOptions.txt
parentdd1245f5be20e10f8ef917b20c302129b505cd97 (diff)
CMake: add USE_STATIC option
USE_STATIC will: - always link statically with external libraries (such as glib2) - will not set rpath to avoid the following error: CMake Error at cmake_install.cmake:50 (file): file RPATH_CHANGE could not write new RPATH: /usr/lib to the file: /home/fabrice/br-test-pkg/br-arm-full-static/target/usr/bin/tshark No valid ELF RPATH or RUNPATH entry exists in the file; Change-Id: I242dc1a091cc211ee891568a2dee5080c9974fba Ping-Bug: 15713 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-on: https://code.wireshark.org/review/32945 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index b99e949c44..a605f7b49c 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -59,6 +59,7 @@ if(WIN32)
option(ENABLE_AIRPCAP "Enable AirPcap support" ON)
endif()
option(ENABLE_STATIC "Build Wireshark libraries statically" OFF)
+option(USE_STATIC "Always link statically with external libraries" OFF)
option(ENABLE_PLUGINS "Build with plugins" ON)
option(ENABLE_PLUGIN_IFDEMO "Build with plugin interface demo" OFF)
option(ENABLE_PCAP_NG_DEFAULT "Enable pcapng as default file format" ON)