Skip to content

Commit

Permalink
@hmaarrfk's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins committed Oct 22, 2024
1 parent 6ef645b commit 5f9f955
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ if [[ ("$target_platform" != "linux-ppc64le") && \
fi

# test for hdf5 C++ exceptions
$CXX $RECIPE_DIR/testhdf5exc.cpp -o testhdf5exc -L$PREFIX/lib -lhdf5_cpp -lhdf5 -I$PREFIX/include
LD_LIBRARY_PATH=$PREFIX/lib DYLD_LIBRARY_PATH=$PREFIX/lib ./testhdf5exc


if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" || "${CROSSCOMPILING_EMULATOR}" != "" ]]; then
$CXX $RECIPE_DIR/testhdf5exc.cpp -o testhdf5exc -L$PREFIX/lib -lhdf5_cpp -lhdf5 -I$PREFIX/include
./testhdf5exc
fi

0 comments on commit 5f9f955

Please sign in to comment.