Now PV3Reader compiles under Linux .... again

--HG--
branch : macMerge
This commit is contained in:
openfoam-maintainance 2010-10-06 14:34:17 +02:00
parent 585b5f4364
commit 9da8604579

View file

@ -12,7 +12,7 @@ then
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
cd Make/$WM_OPTIONS
cmake ../..
if [ $WM_ARCH_BASE == "darwin" ]
if [ "$WM_ARCH_BASE" == "darwin" ]
then
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader.dir/link.txt
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader_SM.dir/link.txt