mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
Merge of python extension picobj fix.
This commit is contained in:
parent
ad42419a84
commit
7e0e9585f1
@ -1054,23 +1054,29 @@ installclientlib:
|
||||
|
||||
# Python extensions
|
||||
|
||||
PYTHON_OBJS = $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) $(UBIQX_OBJ) \
|
||||
$(PARAM_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
|
||||
PYTHON_OBJS = $(PARAM_OBJ) $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) \
|
||||
$(UBIQX_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
|
||||
$(SECRETS_OBJ) $(KRBCLIENT_OBJ)
|
||||
|
||||
python_ext: $(PYTHON_OBJS)
|
||||
PYTHON_PICOBJS = $(PYTHON_OBJS:.o=.po)
|
||||
|
||||
python_ext: $(PYTHON_PICOBJS)
|
||||
@if test -z "$(PYTHON)"; then \
|
||||
echo Use the option --with-python to configure python; \
|
||||
exit 1; fi
|
||||
PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
|
||||
LIBS="$(LIBS)" \
|
||||
exit 1; \
|
||||
fi
|
||||
PYTHON_OBJS="$(PYTHON_PICOBJS)" \
|
||||
PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
|
||||
LIBS="$(LIBS) $(PASSDBLIBS) $(KRB5LIBS)" \
|
||||
$(PYTHON) python/setup.py build
|
||||
|
||||
python_install: $(PYTHON_OBJS)
|
||||
python_install: $(PYTHON_PICOBJS)
|
||||
@if test -z "$(PYTHON)"; then \
|
||||
echo Use the option --with-python to configure python; \
|
||||
exit 1; fi
|
||||
PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
|
||||
exit 1; \
|
||||
fi
|
||||
PYTHON_OBJS="$(PYTHON_PICOBJS)" \
|
||||
PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
|
||||
LIBS="$(LIBS)" \
|
||||
$(PYTHON) python/setup.py install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user