Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suspicious .pc.cmake file #16

Open
tmatth opened this issue Jul 14, 2014 · 0 comments
Open

suspicious .pc.cmake file #16

tmatth opened this issue Jul 14, 2014 · 0 comments

Comments

@tmatth
Copy link

tmatth commented Jul 14, 2014

The current libzrtpcpp.pc.cmake file generates the following (with the default prefix):

prefix=/usr/local
exec_prefix=/usr/local/bin
libdir=/usr/local/lib64
pkglibdir=${libdir}/pkgconfig
includedir=/usr/local/include
pkgincludedir=${includedir}/pkgconfig

Name: libzrtpcpp
Description: GNU ZRTP core library
Version: 4.2.3
Requires:
Libs:  -L${libdir} -lzrtpcpp
Cflags: -I${includedir}

This is because @PACKAGE@ will evaluate to pkgconfig, which is probably not what was intended. Moreover, anyone compiling against zrtp requires -I {includedir}/libzrtpcpp to be in cflags, otherwise the statement:

#include <ZrtpQueue.h>

will fail with

/usr/include/libzrtpcpp/zrtpccrtp.h:22:23: fatal error: ZrtpQueue.h: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant