diff options
-rw-r--r-- | doc/log.txt | 1 | ||||
-rw-r--r-- | src/build-data/makefile/python.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/log.txt b/doc/log.txt index bab388fef..509c8a6b8 100644 --- a/doc/log.txt +++ b/doc/log.txt @@ -1,5 +1,6 @@ * 1.9.12-dev, ????-??-?? + - Fix compilation problems in Python wrappers * 1.9.11, 2010-11-29 - Many SSL/TLS APIs have changed. This API is still unstable. diff --git a/src/build-data/makefile/python.in b/src/build-data/makefile/python.in index 87c342fcf..516b6ac1c 100644 --- a/src/build-data/makefile/python.in +++ b/src/build-data/makefile/python.in @@ -1,4 +1,5 @@ CXX = %{cc} +LDFLAGS = WARN_FLAGS = %{warn_flags} PYTHON_ROOT = /usr/lib/python%{python_version}/config @@ -17,7 +18,7 @@ all: $(BOTAN_PYTHON_MODDIR)/_botan.so $(BOTAN_PYTHON_MODDIR)/_botan.so: $(PYTHON_OBJS) cp src/wrap/python/*.py $(BOTAN_PYTHON_MODDIR) - $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) -lbotan -lboost_python -o $@ + $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) $(LDFLAGS) -lbotan -lboost_python -o $@ clean: rm -rf $(BOTAN_PYTHON_MODDIR)/* |