3
0
Fork 0
forked from mirrors/nixpkgs

guile: fix include path in guile-2.0.pc

I forgot to /cc maintainer @civodul about the output-splitting.
This commit is contained in:
Vladimír Čunát 2017-02-14 11:19:47 +01:00
parent 733dc656b1
commit 62ca214d4a
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -72,9 +72,11 @@
# why `--with-libunistring-prefix' and similar options coming from
# `AC_LIB_LINKFLAGS_BODY' don't work on NixOS/x86_64.
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|-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