Opened 6 years ago

Closed 6 years ago

#850 closed defect (fixed)

yat.pc should use htslib.pc

Reported by: Peter Owned by: Jari Häkkinen
Priority: minor Milestone: yat 0.13.1
Component: build Version: 0.13
Keywords: Cc:

Description

When building in htslib mode, the yat.pc looks like this:

Requires:  zlib
Requires.private: gsl > 1.8 zlib
Libs: -L${libdir} -lyat  -lhts -lhts -lboost_thread -lboost_system  -L/usr/lib64  
Libs.private:  -lhts -lhts -lboost_thread -lboost_system
Cflags:  -pthread  -isystem /usr/local/include/htslib-1  -I${includedir}

A number of errors: 1) Requires and Requires refer to zlib 2) Libs and Libs.private are both referring to -lhts -lhts [x2]

libhts provides a pc file, so that should be referred to in Require.private and then there is no need to refer to zlib as that requirement comes from the bam support.

Change History (2)

comment:1 Changed 6 years ago by Peter

Summary: yat.pc does use htslib.pcyat.pc should use htslib.pc

comment:2 Changed 6 years ago by Peter

Resolution: fixed
Status: newclosed

(In [3443]) fixes #850

Note: See TracTickets for help on using tickets.