diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/apachectl | 4 | ||||
-rw-r--r-- | etc/config | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/etc/apachectl b/etc/apachectl index 8f58896..43e39ee 100755 --- a/etc/apachectl +++ b/etc/apachectl @@ -37,6 +37,10 @@ export AP_WWW_DIR export AP_CONFIG_DIR export AP_WORKSPACE_DIR +if test -n "$AP_LIB_DIRS"; then + export LD_LIBRARY_PATH=$AP_LIB_DIRS:$LD_LIBRARY_PATH +fi + mkdir -p "$AP_WORKSPACE_DIR" mkdir -p "$AP_LOG_DIR" @@ -18,6 +18,7 @@ AP_ADMIN_EMAIL=admin@cppget.org AP_LOG_LEVEL=trace1 AP_DB_HOST="$PG_WORKSPACE_DIR" AP_DB_PORT=$PG_PORT +AP_LIB_DIRS="$PROJECT_DIR/../libbutl/butl:$PROJECT_DIR/../libbpkg/bpkg" AP_MODULE_DIR="$PROJECT_DIR" AP_WWW_DIR="$PROJECT_DIR/www" AP_CONFIG_DIR="$CONFIG_DIR" |