Move pkg-config file into src directory
diff --git a/Makefile.am b/Makefile.am
index fdd273f..c7d69cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,9 +2,6 @@
 ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = common src include $(CYTHON_SUB) tools docs
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libimobiledevice-1.0.pc
-
 EXTRA_DIST = docs
 
 docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/src/*.c $(top_srcdir)/src/*.h $(top_srcdir)/include/libimobiledevice/*.h
diff --git a/configure.ac b/configure.ac
index 44e1e09..44daa65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,11 +209,11 @@
 Makefile
 common/Makefile
 src/Makefile
+src/libimobiledevice-1.0.pc
 include/Makefile
 tools/Makefile
 cython/Makefile
 docs/Makefile
-libimobiledevice-1.0.pc
 doxygen.cfg
 ])
 
diff --git a/src/Makefile.am b/src/Makefile.am
index e45437b..da60386 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,3 +34,6 @@
 libimobiledevice_la_LDFLAGS += -avoid-version
 libimobiledevice_la_LIBADD += -lole32 -lws2_32
 endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libimobiledevice-1.0.pc
diff --git a/libimobiledevice-1.0.pc.in b/src/libimobiledevice-1.0.pc.in
similarity index 100%
rename from libimobiledevice-1.0.pc.in
rename to src/libimobiledevice-1.0.pc.in