Skip to content

Commit

Permalink
try redirect include
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Jan 11, 2025
1 parent 8bcf4ff commit d503a8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions subprojects/packagefiles/quickjs-ng/include/quickjs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../quickjs.h";
9 changes: 7 additions & 2 deletions subprojects/packagefiles/quickjs-ng/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,15 @@ endif
add_project_arguments(c_defines, language: 'c')

# TODO: support shared libs
quickjs_lib = static_library('quickjs', lib_src, dependencies: deps)
quickjs_lib = static_library(
'quickjs',
lib_src,
dependencies: deps,
include_directories: include_directories('.'),
)

quickjs_ng_dep = declare_dependency(
include_directories: include_directories('.'),
include_directories: include_directories('include'),
link_with: quickjs_lib,
dependencies: deps,
)
Expand Down

0 comments on commit d503a8d

Please sign in to comment.