diff options
author | Tim Potter <tpot@samba.org> | 2006-04-03 00:13:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:45 -0500 |
commit | f586b11f73809ee9cadaa5c781bbc41c21c81d47 (patch) | |
tree | fc1ede9da2aad97bc5720824108a83b452a3e3ad /source4/scripting | |
parent | 1b22141c874ff704ad4fe048d4464168495c36b6 (diff) | |
download | samba-f586b11f73809ee9cadaa5c781bbc41c21c81d47.tar.gz samba-f586b11f73809ee9cadaa5c781bbc41c21c81d47.tar.bz2 samba-f586b11f73809ee9cadaa5c781bbc41c21c81d47.zip |
r14870: Update to link with dynamic instead of static objects.
(This used to be commit 20d68c60b7b7dce1f4f82cb6d3af9431a0660854)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/config.mk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source4/scripting/config.mk b/source4/scripting/config.mk index 33c774cc4c..70296cbc7c 100644 --- a/source4/scripting/config.mk +++ b/source4/scripting/config.mk @@ -27,17 +27,20 @@ swig: scripting/swig/_tdb.so scripting/swig/_ldb.so scripting/swig/tdb_wrap.c: scripting/swig/tdb.i swig -python scripting/swig/tdb.i -scripting/swig/_tdb.so: scripting/swig/tdb_wrap.o bin/subsystems/LIBRARY_LIBTDB.o - $(SHLD) $(SHLD_FLAGS) -o scripting/swig/_tdb.so \ - scripting/swig/tdb_wrap.o \ - bin/subsystems/LIBRARY_LIBTDB.o +scripting/swig/_tdb.so: scripting/swig/tdb_wrap.o + $(SHLD) $(SHLD_FLAGS) -o scripting/swig/_tdb.so $(LOCAL_LINK_FLAGS) \ + bin/libtdb.$(SHLIBEXT).0.0.1 \ + scripting/swig/tdb_wrap.o scripting/swig/ldb_wrap.c: scripting/swig/ldb.i swig -python scripting/swig/ldb.i -scripting/swig/_ldb.so: scripting/swig/ldb_wrap.o $(LIBRARY_swig_ldb_DEPEND_LIST) - $(SHLD) $(SHLD_FLAGS) -o scripting/swig/_ldb.so scripting/swig/ldb_wrap.o \ - $(LIBRARY_swig_ldb_LINK_LIST) $(LIBRARY_swig_ldb_LINK_FLAGS) +scripting/swig/_ldb.so: scripting/swig/ldb_wrap.o $(LIBRARY_DYNCONFIG_OBJ_LIST) + $(SHLD) $(SHLD_FLAGS) -o scripting/swig/_ldb.so $(LOCAL_LINK_FLAGS) \ + $(LIBRARY_DYNCONFIG_LINK_LIST) \ + bin/libtdb.$(SHLIBEXT).0.0.1 \ + bin/libldb.$(SHLIBEXT).0.0.1 \ + scripting/swig/ldb_wrap.o SWIG_INCLUDES = librpc/gen_ndr/samr.i librpc/gen_ndr/lsa.i librpc/gen_ndr/spoolss.i |