summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorRoosembert Palacios <roosembert.palacios@epfl.ch>2018-06-24 04:25:48 +0200
committerRoosembert Palacios <roosembert.palacios@epfl.ch>2018-06-24 04:25:48 +0200
commit1f44c02181814580b91d9c8398ebd0db1bd40856 (patch)
treeba274e260784d4f7a8b43011003ac49452ddb14b /pkgs/development/interpreters
parentff4351ac3b7662d2a07de9c8f4676516bb56dc35 (diff)
downloadnixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar.gz
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar.bz2
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar.lz
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar.xz
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.tar.zst
nixlib-1f44c02181814580b91d9c8398ebd0db1bd40856.zip
lua5.3/pkgconfig: add lua5.3.pc
Some applications try to build using `pkgconfig lua5.3 --libs...` as some major
distributions use this name. Add a symlink to the lua.pc pkgconfig file.

Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/lua-5/5.3.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lua-5/5.3.nix b/pkgs/development/interpreters/lua-5/5.3.nix
index 7f0703c62884..5a4893db0637 100644
--- a/pkgs/development/interpreters/lua-5/5.3.nix
+++ b/pkgs/development/interpreters/lua-5/5.3.nix
@@ -53,6 +53,7 @@ stdenv.mkDerivation rec {
     Libs: -L$out/lib -llua -lm
     Cflags: -I$out/include
     EOF
+    ln -s "$out/lib/pkgconfig/lua.pc" "$out/lib/pkgconfig/lua${luaversion}.pc"
   '';
 
   meta = {