Skip to content

Commit ffbfc3c

Browse files
authored
Add libname prefix and suffix
1 parent 179527f commit ffbfc3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/openblas.pc.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
2+
libnameprefix=@LIBNAMEPREFIX@
3+
libnamesuffix=@LIBNAMESUFFIX@
24
libsuffix=@SUFFIX64_UNDERSCORE@
35
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
46

@@ -7,5 +9,5 @@ Name: OpenBLAS
79
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version
810
Version: @OpenBLAS_VERSION@
911
URL: https://github.com/OpenMathLib/OpenBLAS
10-
Libs: @OpenMP_C_FLAGS@ -L${libdir} -lopenblas${libsuffix}
12+
Libs: @OpenMP_C_FLAGS@ -L${libdir} -l${libnameprefix}openblas${libnamesuffix}${libsuffix}
1113
Cflags: -I${includedir}

0 commit comments

Comments
 (0)