Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
41f15a00
Commit
41f15a00
authored
Dec 30, 2010
by
Howard Chu
Browse files
ITS#6684 fix ppolicy crash, fix Makefile install target
parent
46f48136
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/autogroup/Makefile
View file @
41f15a00
...
...
@@ -2,6 +2,13 @@ LIBTOOL=../../../libtool
CPPFLAGS
+=
-I
../../../include
-I
../../../servers/slapd
ldap_subdir
=
openldap
prefix
=
/usr/local
exec_prefix
=
$(prefix)
libdir
=
$(exec_prefix)
/lib
libexecdir
=
$(exec_prefix)
/libexec
moduledir
=
$(exec_prefix)
/libexec/
$(ldap_subdir)
all
:
autogroup.la
autogroup.lo
:
autogroup.c
...
...
@@ -9,12 +16,12 @@ autogroup.lo: autogroup.c
autogroup.la
:
autogroup.lo
$(LIBTOOL)
--mode
=
link
$(CC)
-version-info
0:0:0
\
-rpath
$(
PREFIX)
/lib
-module
-o
$@
$?
-rpath
$(
libdir)
-module
-o
$@
$?
clean
:
rm
-f
autogroup.lo autogroup.la
install
:
autogroup.la
mkdir
-p
$(
PREFIX)
/lib/openldap
$(LIBTOOL)
--mode
=
install cp
autogroup.la
$(
PREFIX)
/lib/openldap
$(LIBTOOL)
--finish
$(
PREFIX)
/lib
mkdir
-p
$(
DESTDIR)$(moduledir)
$(LIBTOOL)
--mode
=
install cp
autogroup.la
$(
DESTDIR)$(moduledir)
$(LIBTOOL)
--finish
$(
DESTDIR)$(moduledir)
contrib/slapd-modules/autogroup/autogroup.c
View file @
41f15a00
...
...
@@ -1712,7 +1712,7 @@ autogroup_db_open(
Debug
(
LDAP_DEBUG_TRACE
,
"==> autogroup_db_open
\n
"
,
0
,
0
,
0
);
if
(
agi
==
NULL
)
{
if
(
agi
==
NULL
||
!
(
slapMode
&
SLAP_SERVER_MODE
)
)
{
return
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment