diff options
Diffstat (limited to 'src/build-data/makefile/python.in')
-rw-r--r-- | src/build-data/makefile/python.in | 3 |
1 files changed, 2 insertions, 1 deletions
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)/* |