blob: 325020c3f18c7f98c4e5f3b4c80a85bc05bb28da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/src/libstdc++-v3/python/Makefile.am
+++ b/src/libstdc++-v3/python/Makefile.am
@@ -26,7 +26,7 @@ include $(top_srcdir)/fragment.am
if ENABLE_PYTHONDIR
pythondir = $(prefix)/$(python_mod_dir)
else
-pythondir = $(datadir)/gcc-$(gcc_version)/python
+pythondir = $(datadir)/gcc/python
endif
if GLIBCXX_BUILD_DEBUG
--- a/src/libstdc++-v3/python/Makefile.in
+++ b/src/libstdc++-v3/python/Makefile.in
@@ -409,7 +409,7 @@ WARN_CXXFLAGS = \
# -I/-D flags to pass when compiling.
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
-@ENABLE_PYTHONDIR_FALSE@pythondir = $(datadir)/gcc-$(gcc_version)/python
+@ENABLE_PYTHONDIR_FALSE@pythondir = $(datadir)/gcc/python
@ENABLE_PYTHONDIR_TRUE@pythondir = $(prefix)/$(python_mod_dir)
@GLIBCXX_BUILD_DEBUG_FALSE@debug_gdb_py =
@GLIBCXX_BUILD_DEBUG_TRUE@debug_gdb_py = YES
|