Skip to content

Commit

Permalink
Rename library to ljlangtk and add pkg-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
franko committed Jun 26, 2019
1 parent b99fff0 commit 6f36257
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
project('luajit-lang-toolkit', 'c', version : '1.0', default_options : 'c_std=c99')

pkg = import('pkgconfig')

lang_headers_dir = include_directories('.')

subdir('lang')
Expand Down
9 changes: 8 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ endif

luajit_dep = dependency('luajit')

liblang = static_library('liblang',
liblang = static_library('ljlangtk',
lang_sources + lang_bc_headers,
include_directories: lang_headers_dir,
c_args: lang_cflags,
Expand All @@ -29,3 +29,10 @@ luajit_x = executable('luajit-x',
link_with: liblang,
install: true,
)

pkg.generate(liblang,
filebase : 'ljlangtk',
name : 'LuaJIT Lang Toolkit',
description : 'The LuaJIT Language Toolkit',
url : 'https://github.com/franko/luajit-lang-toolkit',
)

0 comments on commit 6f36257

Please sign in to comment.