diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 8e3ebddf73a84a47d8187f86d8bf63c68db0342a..e6b6ed3ca5262dc3dd9e158b8c10694d77d75618 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -32,7 +32,7 @@ endif # to work without, we have to skip it. ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib))) -override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS) +override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS) rpathdir = $(python_libdir)