diff options
Diffstat (limited to 'devel/libnjs/files/patch-auto_quickjs')
-rw-r--r-- | devel/libnjs/files/patch-auto_quickjs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libnjs/files/patch-auto_quickjs b/devel/libnjs/files/patch-auto_quickjs new file mode 100644 index 000000000000..8312bac9b456 --- /dev/null +++ b/devel/libnjs/files/patch-auto_quickjs @@ -0,0 +1,15 @@ +--- auto/quickjs.orig 2024-12-15 17:49:15 UTC ++++ auto/quickjs +@@ -46,9 +46,9 @@ if [ $NJS_TRY_QUICKJS = YES ]; then + fi + + if [ $njs_found = no ]; then +- njs_feature="QuickJS library -I/usr/include/quickjs/ -L/usr/lib/quickjs/ -lquickjs" +- njs_feature_incs="/usr/include/quickjs/" +- njs_feature_libs="-L/usr/lib/quickjs/ -lquickjs -lm -ldl -lpthread" ++ njs_feature="QuickJS library -I%%LOCALBASE%%/include/quickjs/ -L%%LOCALBASE%%/lib/ -lquickjs" ++ njs_feature_incs="%%LOCALBASE%%/include/quickjs/" ++ njs_feature_libs="-L%%LOCALBASE%%/lib/ -lquickjs -lm -ldl -lpthread" + + . auto/feature + fi |