summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-04-25 17:43:54 +0100
committerGravatar Martin Szulecki2013-04-25 17:43:54 +0100
commit4748e1ac72ede8ba1f7a28ec8c1b8d5bb0f0afd3 (patch)
tree708d1ec3ee0fcc3a3f49be45457c5f641c108dc2 /tools
parent927c34ee8e6974a34b1dfd7d1a4fde5eabbeca7a (diff)
downloadlibimobiledevice-4748e1ac72ede8ba1f7a28ec8c1b8d5bb0f0afd3.tar.gz
libimobiledevice-4748e1ac72ede8ba1f7a28ec8c1b8d5bb0f0afd3.tar.bz2
common: Move debug and userpref code into libinternalcommon
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
-rw-r--r--tools/idevicepair.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index e668592..fe9b1fa 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -11,9 +11,9 @@ ideviceinfo_LDFLAGS = $(AM_LDFLAGS)
ideviceinfo_LDADD = ../src/libimobiledevice.la
idevicepair_SOURCES = idevicepair.c
-idevicepair_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src
+idevicepair_CFLAGS = $(AM_CFLAGS)
idevicepair_LDFLAGS = $(AM_LDFLAGS)
-idevicepair_LDADD = ../src/libimobiledevice.la
+idevicepair_LDADD = $(top_srcdir)/common/libinternalcommon.la ../src/libimobiledevice.la
idevicesyslog_SOURCES = idevicesyslog.c
idevicesyslog_CFLAGS = $(AM_CFLAGS)
diff --git a/tools/idevicepair.c b/tools/idevicepair.c
index dddb6ee..d634d5f 100644
--- a/tools/idevicepair.c
+++ b/tools/idevicepair.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
-#include "userpref.h"
+#include "common/userpref.h"
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/lockdown.h>