dot

packages and services management
Log | Files | Refs | README

commit 8e34f46b294386fcc36385e2bfe6d2c29dee1353
parent 7ec9bafb0c6d626c298ee4d28cd2e249c15f0d76
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 27 Mar 2018 14:50:02 +0200

ldpad: add LDFLAGS to the Makefiles

Diffstat:
M.ssh/config | 3+++
Mpack/ldapd/Makefile.ldapctl | 2+-
Mpack/ldapd/Makefile.ldapd | 2+-
Mpack/ldapd/config.mk | 4++--
4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.ssh/config b/.ssh/config @@ -6,6 +6,9 @@ host ::1 host 127.0.0.1 IdentityFile /mnt/key/josuah.key +host 192.168.0.11 + IdentityFile /mnt/key/josuah.key + host nas.josuah.net IdentityFile /mnt/key/josuah.key diff --git a/pack/ldapd/Makefile.ldapctl b/pack/ldapd/Makefile.ldapctl @@ -8,4 +8,4 @@ top_srcdir = .. all: ldapctl ldapctl: $(OBJ) - $(CC) -o $@ $(LIBS) $(OBJ) ../compat/*.o + $(CC) -o $@ $(LDFLAGS) $(OBJ) ../compat/*.o $(LIBS) diff --git a/pack/ldapd/Makefile.ldapd b/pack/ldapd/Makefile.ldapd @@ -7,4 +7,4 @@ OBJ = $(SRC:.c=.o) all: ldapd ldapd: $(OBJ) - $(CC) -o $@ $(LIBS) $(OBJ) ../compat/*.o + $(CC) -o $@ $(LDFLAGS) $(OBJ) ../compat/*.o $(LIBS) diff --git a/pack/ldapd/config.mk b/pack/ldapd/config.mk @@ -1,3 +1,3 @@ -CFLAGS = -I../compat -I../ldapd -I../ldapctl -I'$PACKROOT/include' -LDFLAGS = -L'$PACKROOT/lib' +CFLAGS = -I'$(PACKROOT)/include' -I../compat -I../ldapd -I../ldapctl +LDFLAGS = -L'$(PACKROOT)/lib' LIBS = -lssl -levent -lcrypto -lz