Skip to content

Commit

Permalink
libconnman-qt.pro: streamline pkgconfig generation
Browse files Browse the repository at this point in the history
Let qmake handle the generation of connman-qt*.pc. This also fixes
issue nemomobile#82 (connman-qt4.pc is installed in lib folder).

Signed-off-by: Andreas Oberritter <[email protected]>
  • Loading branch information
mtdcr committed Feb 17, 2014
1 parent 9f2725f commit 5e8cc51
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libconnman-qt/libconnman-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ isEmpty(TARGET_SUFFIX) {

TARGET = $$qtLibraryTarget(connman-$$TARGET_SUFFIX)
headers.path = $$INSTALL_ROOT$$PREFIX/include/connman-$$TARGET_SUFFIX
pkgconfig.files = connman-$$TARGET_SUFFIX.pc

DBUS_INTERFACES = \
connman_clock.xml \
Expand Down Expand Up @@ -53,11 +52,10 @@ target.path = $$INSTALL_ROOT$$PREFIX/lib
headers.files = $$HEADERS

QMAKE_PKGCONFIG_DESCRIPTION = Qt Connman Library
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
QMAKE_PKGCONFIG_INCDIR = $$headers.path

pkgconfig.path = $$INSTALL_ROOT$$PREFIX/lib/pkgconfig

INSTALLS += target headers pkgconfig
INSTALLS += target headers

OTHER_FILES = connman_service.xml \
connman_technology.xml \
Expand Down

0 comments on commit 5e8cc51

Please sign in to comment.