Re: [Paraview] static linking with python

2011-03-08 Thread Brad King
On 03/05/2011 02:25 PM, burlen wrote: OK but why would LINK_SEARCH_END_STATIC result in -Wl,-Bstatic -Wl,-Bdynamic being used ? Shouldn't it be just -Bstatic ? You can read the logic in cmComputeLinkInformation.cxx to figure this out. Why is CMake's default to make a substitution like -lfoo

Re: [Paraview] static linking with python

2011-03-08 Thread Burlen Loring
On 03/08/2011 05:08 AM, Brad King wrote: I think the only way that can happen now is if you actually pass a .so file to target_link_libraries (assuming LINK_SEARCH_START_STATIC is on) that is in /usr/lib or another system directory. Check your CMakeCache for such entries. I do have

Re: [Paraview] static linking with python

2011-03-05 Thread burlen
On 03/04/2011 05:53 AM, Brad King wrote: On 03/03/2011 04:08 PM, Burlen Loring wrote: On 03/03/2011 05:39 AM, Brad King wrote: On 03/02/2011 06:31 PM, Burlen Loring wrote: Can anyone help figure out where these comes from and how to turn them off?

Re: [Paraview] static linking with python

2011-03-04 Thread Brad King
On 03/03/2011 04:08 PM, Burlen Loring wrote: On 03/03/2011 05:39 AM, Brad King wrote: On 03/02/2011 06:31 PM, Burlen Loring wrote: Can anyone help figure out where these comes from and how to turn them off? http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:LINK_SEARCH_END_STATIC

Re: [Paraview] static linking with python

2011-03-03 Thread Brad King
On 03/02/2011 06:31 PM, Burlen Loring wrote: I'm trying to link paraview static and include python. In the executable link line there are a couple -Wl,-Bdynamic appearing and I am not able to locate their source. Can anyone help figure out where these comes from and how to turn them off?

Re: [Paraview] static linking with python

2011-03-03 Thread Burlen Loring
On 03/03/2011 05:39 AM, Brad King wrote: On 03/02/2011 06:31 PM, Burlen Loring wrote: I'm trying to link paraview static and include python. In the executable link line there are a couple -Wl,-Bdynamic appearing and I am not able to locate their source. Can anyone help figure out where these

Re: [Paraview] static linking with python

2011-03-03 Thread David E DeMarle
Brad I can demonstrate this here... David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Thu, Mar 3, 2011 at 4:08 PM, Burlen Loring blor...@lbl.gov wrote: On 03/03/2011 05:39 AM, Brad King wrote: On 03/02/2011 06:31 PM,

[Paraview] static linking with python

2011-03-02 Thread Burlen Loring
Hi, I'm trying to link paraview static and include python. In the executable link line there are a couple -Wl,-Bdynamic appearing and I am not able to locate their source. Can anyone help figure out where these comes from and how to turn them off? Burlen Linking CXX executable