flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.21k stars 646 forks source link

generates broken pkg-config pc file (stray semicolon) #514

Open ametzler opened 11 months ago

ametzler commented 11 months ago

Building GIT head with

mkdir obj && cd obj/ && cmake .. && make -j5 && mkdir DEST && make install DESTDIR=`pwd`/DEST

yields

(sid)ametzler@argenau:/tmp/FLANN/flann/obj$ tail -n3 DEST/usr/local/lib/pkgconfi
g/flann.pc
Libs: -L${libdir} -L/usr/lib/x86_64-linux-gnu;-llz4 -lflann -lflann_cpp
Cflags: -I${includedir}

Note the stray semicolon in Libs.

flann uses @LZ4_STATIC_LDFLAGS@ in cmake/flann.pc.in, however @LZ4_STATIC_LDFLAGS@ is a semicolon delimited list.