From 15d10fac378c42e6a78ec7a56fc5a996d8c201b8 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 1 Dec 2010 14:59:08 +0000 Subject: Fix Python wrappers --- src/build-data/makefile/python.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/build-data') diff --git a/src/build-data/makefile/python.in b/src/build-data/makefile/python.in index d0e33f6e3..87c342fcf 100644 --- a/src/build-data/makefile/python.in +++ b/src/build-data/makefile/python.in @@ -17,10 +17,11 @@ all: $(BOTAN_PYTHON_MODDIR)/_botan.so $(BOTAN_PYTHON_MODDIR)/_botan.so: $(PYTHON_OBJS) cp src/wrap/python/*.py $(BOTAN_PYTHON_MODDIR) - $(CXX) -shared -o $@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) -lbotan -lboost_python -Wl,-rpath-link,. -Wl,-soname,$@ + $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) -lbotan -lboost_python -o $@ clean: - rm -f $(PYTHON_OBJS) $(BOTAN_PYTHON_MODDIR) + rm -rf $(BOTAN_PYTHON_MODDIR)/* + rm -f $(PYTHON_OBJS) install: mkdir -p $(PYTHON_SITE_PACKAGE_DIR)/botan -- cgit v1.2.3