aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/apachectl4
-rw-r--r--etc/config1
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"
diff --git a/etc/config b/etc/config
index 31a03a2..ba428c5 100644
--- a/etc/config
+++ b/etc/config
@@ -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"