diff options
author | Tim Potter <tpot@samba.org> | 2003-04-15 03:43:24 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-15 03:43:24 +0000 |
commit | ef8f998edc635867c4bae7bfdc87f0a3aba0c419 (patch) | |
tree | 06d0bac5659fc49efee5ff601bd1c1027c0a4170 | |
parent | c34e823fe4b71fc4f27a1255c1db6f0425f5cab7 (diff) | |
download | samba-ef8f998edc635867c4bae7bfdc87f0a3aba0c419.tar.gz samba-ef8f998edc635867c4bae7bfdc87f0a3aba0c419.tar.bz2 samba-ef8f998edc635867c4bae7bfdc87f0a3aba0c419.zip |
Use picobjs when building python extensions. Spotted by Steve Langasek.
(This used to be commit 53dcaf2271ad1b845ace9730d6c68db80bf9704e)
-rw-r--r-- | source3/Makefile.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 7509edef78..c08302e4b4 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1166,19 +1166,25 @@ 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)" \ + 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 |