diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-11-14 10:37:58 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-11-14 15:59:50 +0000 |
commit | 2b85d759dae79c930abe8118e1102ecb673b74aa (patch) | |
tree | 254d541590ce0c4aa1e84f135dcc08c100ab90b4 | |
parent | 23a121d495ea0d2c423afcc1305c23acc7379397 (diff) | |
download | gcc-2b85d759dae79c930abe8118e1102ecb673b74aa.zip gcc-2b85d759dae79c930abe8118e1102ecb673b74aa.tar.gz gcc-2b85d759dae79c930abe8118e1102ecb673b74aa.tar.bz2 |
libstdc++: Fix installation of python files for debug lib
libstdc++-v3/ChangeLog:
* python/Makefile.am (install-data-local): Use mkdirs_p for debug
libdir.
* python/Makefile.in: Regenerate.
-rw-r--r-- | libstdc++-v3/python/Makefile.am | 1 | ||||
-rw-r--r-- | libstdc++-v3/python/Makefile.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/python/Makefile.am b/libstdc++-v3/python/Makefile.am index f523d3a..df6bf50 100644 --- a/libstdc++-v3/python/Makefile.am +++ b/libstdc++-v3/python/Makefile.am @@ -62,5 +62,6 @@ install-data-local: gdb.py $(INSTALL_DATA) gdb.py $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py ; \ if [ -n "$(debug_gdb_py)" ]; then \ sed "/^libdir = /s;'$$;/debug';" gdb.py > debug-gdb.py ; \ + $(mkdir_p) $(DESTDIR)$(toolexeclibdir)/debug ; \ $(INSTALL_DATA) debug-gdb.py $(DESTDIR)$(toolexeclibdir)/debug/$$libname-gdb.py ; \ fi diff --git a/libstdc++-v3/python/Makefile.in b/libstdc++-v3/python/Makefile.in index 05e79b5..c527e6c 100644 --- a/libstdc++-v3/python/Makefile.in +++ b/libstdc++-v3/python/Makefile.in @@ -627,6 +627,7 @@ install-data-local: gdb.py $(INSTALL_DATA) gdb.py $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py ; \ if [ -n "$(debug_gdb_py)" ]; then \ sed "/^libdir = /s;'$$;/debug';" gdb.py > debug-gdb.py ; \ + $(mkdir_p) $(DESTDIR)$(toolexeclibdir)/debug ; \ $(INSTALL_DATA) debug-gdb.py $(DESTDIR)$(toolexeclibdir)/debug/$$libname-gdb.py ; \ fi |