mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] Link against shared quickjs library if available
alpine builds shared quickjs library.
This commit is contained in:
parent
2c7072e058
commit
24325a5714
@ -597,7 +597,10 @@ if not compiler.links('''#include <stdint.h>
|
||||
endif
|
||||
|
||||
if conf_data.get('CONFIG_QUICKJS')
|
||||
quickjsdeps = compiler.find_library('quickjs/libquickjs', static: true, dirs: [get_option('prefix')+'/lib','/usr/local/lib'])
|
||||
quickjsdeps = compiler.find_library('quickjs', static: st, required: false)
|
||||
if not quickjsdeps.found()
|
||||
quickjsdeps = compiler.find_library('quickjs/libquickjs', static: true, dirs: [get_option('prefix')+'/lib','/usr/local/lib'])
|
||||
endif
|
||||
deps += quickjsdeps
|
||||
deps += dep_atomic
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user