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

edit ligtirb.pc to make gtirb usage easier #62

Open
gogo2464 opened this issue Oct 5, 2023 · 0 comments
Open

edit ligtirb.pc to make gtirb usage easier #62

gogo2464 opened this issue Oct 5, 2023 · 0 comments
Assignees

Comments

@gogo2464
Copy link

gogo2464 commented Oct 5, 2023

Currently when we want to use gtirb from Makefile, we have to firstt set the variable export PKG_CONFIG_PATH= to point to the folder pkgconfig and to edit our own file such as:

libgtirb.pc:
prefix=/usr/lib
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib

Name: libgtirb
Description: The foo library
Version: 1.0.0
Cflags: -I${includedir}/libgtirb
Libs: -L${libdir} -llibgtirb

It is not easy to use. I suggest to edit Makefile to autogenerate these.

@aeflores aeflores self-assigned this Oct 10, 2023
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

2 participants