Make real checks in extconf.rb
This commit is contained in:
parent
c1f551050f
commit
c19fd24c5e
1 changed files with 8 additions and 7 deletions
|
@ -5,11 +5,12 @@ require 'mkmf'
|
|||
NAME = 'tox'
|
||||
|
||||
LIBTOXCORE = 'toxcore'
|
||||
have_library LIBTOXCORE, 'tox_options_default'
|
||||
have_library LIBTOXCORE, 'tox_new'
|
||||
have_library LIBTOXCORE, 'tox_get_savedata_size'
|
||||
have_library LIBTOXCORE, 'tox_get_savedata'
|
||||
have_library LIBTOXCORE, 'tox_self_get_address'
|
||||
have_library LIBTOXCORE, 'tox_bootstrap'
|
||||
|
||||
create_makefile "#{NAME}/#{NAME}"
|
||||
have_library LIBTOXCORE, 'tox_options_default' and
|
||||
have_library LIBTOXCORE, 'tox_new' and
|
||||
have_library LIBTOXCORE, 'tox_get_savedata_size' and
|
||||
have_library LIBTOXCORE, 'tox_get_savedata' and
|
||||
have_library LIBTOXCORE, 'tox_self_get_address' and
|
||||
have_library LIBTOXCORE, 'tox_bootstrap' and
|
||||
|
||||
create_makefile "#{NAME}/#{NAME}" or exit(1)
|
||||
|
|
Reference in a new issue