summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/npth/npth/pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/npth/npth/pkgconfig.patch')
-rw-r--r--meta/recipes-support/npth/npth/pkgconfig.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-support/npth/npth/pkgconfig.patch b/meta/recipes-support/npth/npth/pkgconfig.patch
deleted file mode 100644
index e736921b43..0000000000
--- a/meta/recipes-support/npth/npth/pkgconfig.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From ff19a9648f1c7d93087e2c33ca64bb881d53ea5a Mon Sep 17 00:00:00 2001
2From: Saul Wold <sgw@linux.intel.com>
3Date: Mon, 10 Nov 2014 13:59:03 -0800
4Subject: [PATCH] Added npth pkgconfig file
5
6Upstream-Status: Pending
7
8Signed-off-by: Saul Wold <sgw@linux.intel.com>
9---
10 configure.ac | 1 +
11 src/Makefile.am | 4 +++-
12 src/npth.pc.in | 10 ++++++++++
13 3 files changed, 14 insertions(+), 1 deletion(-)
14 create mode 100644 src/npth.pc.in
15
16diff --git a/configure.ac b/configure.ac
17index 10f3629..65b76a1 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -476,6 +476,7 @@ src/Makefile
21 w32/Makefile
22 tests/Makefile])
23 AC_CONFIG_FILES(npth-config, chmod +x npth-config)
24+AC_CONFIG_FILES([src/npth.pc])
25 AC_OUTPUT
26
27 echo "
28diff --git a/src/Makefile.am b/src/Makefile.am
29index 7070118..6f01c64 100644
30--- a/src/Makefile.am
31+++ b/src/Makefile.am
32@@ -17,8 +17,10 @@
33 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
34
35 ## Process this file with automake to produce Makefile.in
36+pkgconfigdir = $(libdir)/pkgconfig
37+pkgconfig_DATA = npth.pc
38
39-EXTRA_DIST = libnpth.vers
40+EXTRA_DIST = libnpth.vers npth.pc
41 # versioninfo.rc.in
42 nodist_include_HEADERS = npth.h
43
44diff --git a/src/npth.pc.in b/src/npth.pc.in
45new file mode 100644
46index 0000000..db091e8
47--- /dev/null
48+++ b/src/npth.pc.in
49@@ -0,0 +1,10 @@
50+prefix=@prefix@
51+exec_prefix=@exec_prefix@
52+libdir=@libdir@
53+includedir=@includedir@
54+
55+Name: npth
56+Description: a new portable posix threading library
57+Version: @VERSION@
58+Libs: -L${libdir} -lnpth -lpthread
59+Cflags: -I${includedir}