guile: fix include path in guile-2.0.pc
I forgot to /cc maintainer @civodul about the output-splitting.
This commit is contained in:
parent
733dc656b1
commit
62ca214d4a
@ -72,9 +72,11 @@
|
|||||||
# why `--with-libunistring-prefix' and similar options coming from
|
# why `--with-libunistring-prefix' and similar options coming from
|
||||||
# `AC_LIB_LINKFLAGS_BODY' don't work on NixOS/x86_64.
|
# `AC_LIB_LINKFLAGS_BODY' don't work on NixOS/x86_64.
|
||||||
sed -i "$out/lib/pkgconfig/guile-2.0.pc" \
|
sed -i "$out/lib/pkgconfig/guile-2.0.pc" \
|
||||||
-e 's|-lunistring|-L${libunistring}/lib -lunistring|g ;
|
-e "s|-lunistring|-L${libunistring}/lib -lunistring|g ;
|
||||||
s|^Cflags:\(.*\)$|Cflags: -I${libunistring}/include \1|g ;
|
s|^Cflags:\(.*\)$|Cflags: -I${libunistring}/include \1|g ;
|
||||||
s|-lltdl|-L${libtool.lib}/lib -lltdl|g'
|
s|-lltdl|-L${libtool.lib}/lib -lltdl|g ;
|
||||||
|
s|includedir=$out|includedir=$dev|g
|
||||||
|
"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# make check doesn't work on darwin
|
# make check doesn't work on darwin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user