diff options
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r-- | meta/recipes-support/nspr/nspr/nspr.pc.in | 2 | ||||
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.24.bb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/nspr/nspr/nspr.pc.in b/meta/recipes-support/nspr/nspr/nspr.pc.in index d74caabe4c..1f15d19cfa 100644 --- a/meta/recipes-support/nspr/nspr/nspr.pc.in +++ b/meta/recipes-support/nspr/nspr/nspr.pc.in | |||
@@ -8,4 +8,4 @@ Name: NSPR | |||
8 | Description: The Netscape Portable Runtime | 8 | Description: The Netscape Portable Runtime |
9 | Version: NSPRVERSION | 9 | Version: NSPRVERSION |
10 | Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl | 10 | Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl |
11 | Cflags: | 11 | Cflags: -I${includedir}/nspr |
diff --git a/meta/recipes-support/nspr/nspr_4.24.bb b/meta/recipes-support/nspr/nspr_4.24.bb index 5f823f8941..e98fe83ed3 100644 --- a/meta/recipes-support/nspr/nspr_4.24.bb +++ b/meta/recipes-support/nspr/nspr_4.24.bb | |||
@@ -156,6 +156,10 @@ MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/nspr-config" | |||
156 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | 156 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
157 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 157 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
158 | 158 | ||
159 | # Do not install nspr in usr/include, but in usr/include/nspr, the | ||
160 | # preferred path upstream. | ||
161 | EXTRA_OECONF += "--includedir=${includedir}/nspr" | ||
162 | |||
159 | do_compile_prepend() { | 163 | do_compile_prepend() { |
160 | oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX ${BUILD_CFLAGS}" LDFLAGS="" CC="${BUILD_CC}" -C config export | 164 | oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX ${BUILD_CFLAGS}" LDFLAGS="" CC="${BUILD_CC}" -C config export |
161 | } | 165 | } |