Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 408077 | Differences between
and this patch

Collapse All | Expand All

(-)openldap-2.4.30/contrib/slapd-modules/samba4/Makefile.orig (-8 / +8 lines)
Lines 17-23 Link Here
17
LDAP_BUILD=../../..
17
LDAP_BUILD=../../..
18
18
19
LIBTOOL=$(LDAP_BUILD)/libtool
19
LIBTOOL=$(LDAP_BUILD)/libtool
20
OPT=-g -O2
20
#OPT=-g -O2
21
CC=gcc
21
CC=gcc
22
22
23
DEFS=-DSLAPD_OVER_RDNVAL=2 -DSLAPD_OVER_PGUID=2 -DSLAPD_OVER_VERNUM=2
23
DEFS=-DSLAPD_OVER_RDNVAL=2 -DSLAPD_OVER_PGUID=2 -DSLAPD_OVER_VERNUM=2
Lines 26-32 Link Here
26
	-I$(LDAP_BUILD)/include
26
	-I$(LDAP_BUILD)/include
27
INCS=$(LDAP_INC)
27
INCS=$(LDAP_INC)
28
28
29
LDAP_LIB=-lldap_r -llber
29
LDAP_LIB=-L../../../libraries/libldap_r -lldap_r -llber
30
LIBS=$(LDAP_LIB)
30
LIBS=$(LDAP_LIB)
31
31
32
prefix=/usr/local
32
prefix=/usr/local
Lines 42-65 Link Here
42
all:	$(PROGRAMS)
42
all:	$(PROGRAMS)
43
43
44
pguid.lo:	pguid.c
44
pguid.lo:	pguid.c
45
	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
45
	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
46
46
47
pguid.la:	pguid.lo
47
pguid.la:	pguid.lo
48
	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
48
	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -version-info 0:0:0 \
49
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
49
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
50
50
51
rdnval.lo:	rdnval.c
51
rdnval.lo:	rdnval.c
52
	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
52
	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
53
53
54
rdnval.la:	rdnval.lo
54
rdnval.la:	rdnval.lo
55
	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
55
	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -version-info 0:0:0 \
56
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
56
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
57
57
58
vernum.lo:	vernum.c
58
vernum.lo:	vernum.c
59
	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
59
	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $?
60
60
61
vernum.la:	vernum.lo
61
vernum.la:	vernum.lo
62
	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
62
	$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -version-info 0:0:0 \
63
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
63
	-rpath $(moduledir) -module -o $@ $? $(LIBS)
64
64
65
clean:
65
clean:

Return to bug 408077