Browse Source

COMP: Fix compilation of VTK on debian/sparc (sparc is a CPU not an OS)

Mathieu Malaterre 16 years ago
parent
commit
961f9f583f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/SharedForward.h.in

+ 1 - 1
Source/kwsys/SharedForward.h.in

@@ -220,7 +220,7 @@ static const char kwsys_shared_forward_path_slash[2] = {KWSYS_SHARED_FORWARD_PAT
 #endif
 
 /* SUN */
-#if defined(__sparc)
+#if defined(__sparc) && !defined(__linux)
 # define KWSYS_SHARED_FORWARD_LDD "ldd"
 # define KWSYS_SHARED_FORWARD_LDD_N 1
 # include <sys/isa_defs.h>