Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
use pthread at configure on OpenBSD with SpiderMonkey installed from …
Browse files Browse the repository at this point in the history
…ports
  • Loading branch information
PiotrSikora authored and peter-leonov committed Jun 29, 2010
1 parent 27f2cd7 commit 965af8b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config
Expand Up @@ -195,6 +195,16 @@ if [ $ngx_found = no ]; then
. auto/feature
fi

# OpenBSD port
if [ $ngx_found = no ]; then
ngx_feature_incs=
ngx_feature_test=
ngx_feature="libjs (with pthread) in /usr/local/lib"
ngx_feature_path=
ngx_feature_libs="-L/usr/local/lib -ljs -pthread"
. auto/feature
fi

if [ $ngx_found = no ]; then
echo
echo $0: error: the $ngx_addon_name addon requires the js library.
Expand Down

0 comments on commit 965af8b

Please sign in to comment.