[CONC-283] Please configure and install the libmariadb.pc file Created: 2017-10-03  Updated: 2018-10-23  Resolved: 2018-10-23

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.2
Fix Version/s: 3.0.7, 3.1.0

Type: Task Priority: Minor
Reporter: Zhang Jingqiang Assignee: Georg Richter
Resolution: Fixed Votes: 2
Labels: None

Attachments: File libmariadb.pc.patch     File libmariadb.pc.v2.patch    
Issue Links:
Duplicate
duplicates CONC-284 Please configure and install the libm... Closed

 Description   

The libmariadb.pc.in file is not used in the coresponding CMakeLists.txt.
Please config and install it.



 Comments   
Comment by tabata shintaro [ 2018-06-19 ]

I also wish libmariadb.pc.
I tried making a patch.
libmariadb.pc.patch

Comment by astavale@yahoo.co.uk [ 2018-10-09 ]

The patch doesn't install for me. I think this:

+INSTALL(FILES libmariadb.pc
+ DESTINATION "lib/pkgconfig"
+ COMPONENT Development)

should be:

+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmariadb.pc
+ DESTINATION "lib/pkgconfig"
+ COMPONENT Development)

Updated patch attached. libmariadb.pc.v2.patch

Comment by Craig Andrews [ 2018-10-15 ]

https://github.com/MariaDB/mariadb-connector-c/pull/72

Comment by Craig Andrews [ 2018-10-15 ]

Originally reported in Gentoo at https://bugs.gentoo.org/668664

Generated at Thu Feb 08 03:04:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.