aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-01 14:59:08 +0000
committerlloyd <[email protected]>2010-12-01 14:59:08 +0000
commit15d10fac378c42e6a78ec7a56fc5a996d8c201b8 (patch)
tree8dd9d8254dda88354ef2721d8522401303216858 /src/build-data/makefile
parent14e84259caab4c6e637fe964043ddbb59adbdd20 (diff)
Fix Python wrappers
Diffstat (limited to 'src/build-data/makefile')
-rw-r--r--src/build-data/makefile/python.in5
1 files changed, 3 insertions, 2 deletions
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