-
Notifications
You must be signed in to change notification settings - Fork 31
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 natpmp.pc.in (pkg-config) #32
Comments
the Makefile creates and installs natpmp.pc, now it really depends on how you install it Distros install to a certain dir with
This is the DESTDIR = INSTALLPREFIX, fixing this issue is easy but may confuse people |
If you want a standard behavior, the CMake stuff now implements (almost everything) natpmp.pc.in was created, it's the input file for cmake to replace strings, that's probably what you want to use then So both cmake & the Makefile (not cmake) create natpmp.pc in different ways, but the contents are essentially the same |
@wdlkmpx How? Using the release from https://miniupnp.tuxfamily.org/files/libnatpmp-20230423.tar.gz, I don't see any .pc or .pc.in file in it, and installing with 'make install INSTALLPREFIX=$MY_PREFIX' doesn't install any .pc file to anywhere under $MY_PREFIX. |
That seems to be installed only since recently, and for the CMake build system, right? |
I just tested it; the .pc is installed correctly with CMake, but it seems the version it gets from CMake is outdated; it comes from: https://github.com/miniupnp/libnatpmp/blob/master/VERSION and is currently defined to
|
Hi,
To discover libraries, various systems uses
pkg-config
. For now, libnatpmp is not discoverable with this method.The text was updated successfully, but these errors were encountered: