mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
Fix libupower-glib include dir and pkgconfig
Install libupower-glib include files into libupower-glib/ (where upower.h expects them to be), not upower-glib. Now the library is consistently named "libupower-glib" everywhere. Also fix the Libs line in the pkgconfig file: link against -lupower-glib, not -lupower.
This commit is contained in:
parent
72bb220a6a
commit
b9bb78ac2b
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
|||
lib_LTLIBRARIES = \
|
||||
libupower-glib.la
|
||||
|
||||
libupower_glib_includedir = $(includedir)/upower-glib
|
||||
libupower_glib_includedir = $(includedir)/libupower-glib
|
||||
libupower_glib_include_HEADERS = \
|
||||
upower.h \
|
||||
up-version.h \
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ Description: UPower is a system daemon for managing power devices
|
|||
Version: @VERSION@
|
||||
Requires.private: dbus-1, gthread-2.0
|
||||
Requires: glib-2.0, gobject-2.0
|
||||
Libs: -L${libdir} -lupower
|
||||
Cflags: -I${includedir}/upower-glib
|
||||
Libs: -L${libdir} -lupower-glib
|
||||
Cflags: -I${includedir}/libupower-glib
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue