diff options
author | lloyd <[email protected]> | 2010-12-01 14:59:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-12-01 14:59:08 +0000 |
commit | 15d10fac378c42e6a78ec7a56fc5a996d8c201b8 (patch) | |
tree | 8dd9d8254dda88354ef2721d8522401303216858 /src/build-data/makefile/python.in | |
parent | 14e84259caab4c6e637fe964043ddbb59adbdd20 (diff) |
Fix Python wrappers
Diffstat (limited to 'src/build-data/makefile/python.in')
-rw-r--r-- | src/build-data/makefile/python.in | 5 |
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 |