-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
New package: lexbor-0.4.0 #17012
New package: lexbor-0.4.0 #17012
Conversation
Thank you so much, but there are two points that i want to mention:
But in your package, just liblexbor.so added to shlibs files. 2- I'm using this lib with cmake for my project. in cmake you can specify libs via pkg-config. but it can't find lexbor:
|
As far as I know, pkg-config works with .pc(pkgconfig files), but this project doesn't get generated with one. Also I didn't enable separate library build, so it only builds as one library |
@LinArcX I added pkg-config support, though this if my first time of writing one, could you test this and see if it works? From my testing, it seems to work, as the actual LDFLAG is -lliblexbor Edit: Separated the files a bit and created a -devel pkg, so the shared library and headers are in it. |
I installed I created a test project: And this is the output of cmake:
|
|
I retried it myself, and I figured out what it is, the make file isn't adding LDFLAGS. On the test project, I did a PR on it, so you can see it works. |
I found a solution that doesn't need even path for pkg-config: |
Closes #17001 Signed-off-by: Nathan Owens <ndowens04@gmail.com>
Closes #17001
Signed-off-by: Nathan Owens ndowens04@gmail.com