Drop rpath linker flag on Windows
Windows does not have rpaths in their libraries. So this flag doesn't
make sense there. Plus it seems to be causing some compilation warning.
So dropping it may improve the situation.
@@ -40,7 +40,7 @@ test:
- if not exist %LIBRARY_INC%\\omp.h exit 1 # [win]
- test -f $PREFIX/include/omp.h # [unix]
- $PREFIX/bin/clang -v -fopenmp -L$PREFIX/lib -Wl,-rpath,$PREFIX/lib omp_hello.c -o omp_hello # [not win]
- - "%LIBRARY_BIN%\\clang -v -fopenmp -L%LIBRARY_PREFIX%\\lib -Wl,-rpath,%LIBRARY_PREFIX%\\lib omp_hello.c -o omp_hello" # [win]
+ - "%LIBRARY_BIN%\\clang -v -fopenmp -L%LIBRARY_PREFIX%\\lib omp_hello.c -o omp_hello" # [win]
- ./omp_hello # [unix]
- "%cd%\\omp_hello" # [win]
files:
