Skip to content

Commit 043c318

Browse files
authored
Merge pull request #445 from accelerated/cmake
Changed pkg_config templates to use the library variable name
2 parents 11cf2da + 2638951 commit 043c318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packaging/cassandra.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ includedir=@includedir@
66
Name: cassandra
77
Description: A C/C++ client driver for Apache Cassandra
88
Version: @version@
9-
Libs: -L${libdir} -lcassandra
9+
Libs: -L${libdir} -l@PROJECT_LIB_NAME@
1010
Cflags:
1111
URL: https://github.com/datastax/cpp-driver/

packaging/cassandra_static.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Name: cassandra
77
Description: A C/C++ client driver for Apache Cassandra
88
Version: @version@
99
Requires: libuv
10-
Libs: -L${libdir} -lcassandra_static -lstdc++
10+
Libs: -L${libdir} -l@PROJECT_LIB_NAME_STATIC@ -lstdc++
1111
Cflags:
1212
URL: https://github.com/datastax/cpp-driver/

0 commit comments

Comments
 (0)