diff options
author | Brad King <brad.king@kitware.com> | 2010-04-19 20:30:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-04-19 20:30:23 (GMT) |
commit | 43072405e2b5cc633f87f2f7090b7cbbe29f1eb5 (patch) | |
tree | 17562babeccc159c13cecbf1c9471e319e88af9a /Source/kwsys/SharedForward.h.in | |
parent | 0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f (diff) | |
download | CMake-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.in | 6 |
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" |