summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 4485ef78f..f8fb1b7fb 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -15,8 +15,9 @@ LDLIBS = @LDLIBS@
CONPATH = @CONFIG_DIR@
MODPATH = @MODULE_DIR@
BINPATH = @BINARY_DIR@
+LIBPATH = @LIBRARY_DIR@
MODULES = @MODULES@
-MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=$(MODPATH)'
+MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=$(MODPATH)' 'LIBPATH=$(LIBPATH)'
all : ircd mods config bininst
@@ -27,7 +28,7 @@ ircd:
${MAKE} -C src DIRNAME="src" $(MAKEARGS)
bininst:
- @-cp src/*.so $(BINPATH)
+ @-cp src/*.so $(LIBPATH)
@-cp src/inspircd $(BINPATH)
config: