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

Add prefix in pkg-config file #8395

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

diamant3
Copy link

@diamant3 diamant3 commented Sep 9, 2024

I'm trying to port flatbuffers library to a library compatible for PSP and we specifically use pkg-config to find and use the library but i noticed this error:

Variable 'prefix' not defined in '/usr/local/pspdev/psp/lib/pkgconfig/flatbuffers.pc'

EDIT:

This PR hopefully solve this error. Tested, this is the fix, here's my output:

diamant3@MSI:~/flatbuffers/build$ psp-pkg-config --libs --cflags flatbuffers
-I/usr/local/pspdev/psp/include -L/usr/local/pspdev/psp/lib -lflatbuffers

I'm trying to port flatbuffers library to a library compatible for [PSP](https://github.com/pspdev) and we specifically use pkg-config to find and use the library  but i noticed this error:

```
Variable 'prefix' not defined in '/usr/local/pspdev/psp/lib/pkgconfig/flatbuffers.pc'
```

This PR hopefully solve this error.
Copy link

google-cla bot commented Sep 9, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@diamant3
Copy link
Author

Already signed the CLA. thanks.

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

Successfully merging this pull request may close these issues.

1 participant