Commit b9bb78ac authored by Martin Pitt's avatar Martin Pitt

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.
parent 72bb220a
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment