summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SharedForward.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-04-19 20:30:23 (GMT)
committerBrad King <brad.king@kitware.com>2010-04-19 20:30:23 (GMT)
commit43072405e2b5cc633f87f2f7090b7cbbe29f1eb5 (patch)
tree17562babeccc159c13cecbf1c9471e319e88af9a /Source/kwsys/SharedForward.h.in
parent0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f (diff)
downloadCMake-43072405e2b5cc633f87f2f7090b7cbbe29f1eb5.zip
CMake-43072405e2b5cc633f87f2f7090b7cbbe29f1eb5.tar.gz
CMake-43072405e2b5cc633f87f2f7090b7cbbe29f1eb5.tar.bz2
KWSys SharedForward: Add OpenBSD support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
Diffstat (limited to 'Source/kwsys/SharedForward.h.in')
-rw-r--r--Source/kwsys/SharedForward.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/SharedForward.h.in b/Source/kwsys/SharedForward.h.in
index da62d84..8521099 100644
--- a/Source/kwsys/SharedForward.h.in
+++ b/Source/kwsys/SharedForward.h.in
@@ -201,6 +201,12 @@ static const char kwsys_shared_forward_path_slash[2] = {KWSYS_SHARED_FORWARD_PAT
# define KWSYS_SHARED_FORWARD_LDD_N 1
# define KWSYS_SHARED_FORWARD_LDPATH "LD_LIBRARY_PATH"
+/* OpenBSD */
+#elif defined(__OpenBSD__)
+# define KWSYS_SHARED_FORWARD_LDD "ldd"
+# define KWSYS_SHARED_FORWARD_LDD_N 1
+# define KWSYS_SHARED_FORWARD_LDPATH "LD_LIBRARY_PATH"
+
/* OSX */
#elif defined(__APPLE__)
# define KWSYS_SHARED_FORWARD_LDD "otool", "-L"