FS#59511 - [openjpeg2] Needs flag for not building static lib (or installing the static lib)

Attached to Project: Arch Linux
Opened by Albert Astals Cid (tsdgeos) - Thursday, 02 August 2018, 10:47 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 08 August 2018, 18:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake mentions openjp2_static but the .a file is not part of the package.

I understand this is because archlinux doesn't install the static libs by default, but that makes using that .cmake file impossible since it errors out because it can't find the static file.

Since i understand shipping the static files is not the goal i suggest adding -DBUILD_STATIC_LIBS=OFF to the cmake call.

But if your preferred solution is installing the .a file that also works for me.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 08 August 2018, 18:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.3.0-3

Loading...