summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-02-22 16:24:03 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2022-02-22 16:24:03 +0100
commit6a58941b11bab2a4055fc28f5bbbcc0313eca2b5 (patch)
treeebaab8a55088813aa17a3153592812601dc2bf44
parentbe9ee67a742356c4aa9f74bde34ab9010af8ce6a (diff)
downloadmidipix_build-6a58941b11bab2a4055fc28f5bbbcc0313eca2b5.tar.bz2
midipix_build-6a58941b11bab2a4055fc28f5bbbcc0313eca2b5.tar.xz
patches/gdb-7.12.local.patch: correctly install bin/gdb.
-rw-r--r--patches/gdb-7.12.local.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/patches/gdb-7.12.local.patch b/patches/gdb-7.12.local.patch
index f28cbef..7890557 100644
--- a/patches/gdb-7.12.local.patch
+++ b/patches/gdb-7.12.local.patch
@@ -18,6 +18,15 @@
# Where are the other opcode tables which only have header file
# versions?
OP_INCLUDE = $(INCLUDE_DIR)/opcode
+@@ -1244,7 +1244,7 @@
+ true ; \
+ fi ; \
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
+- $(INSTALL_PROGRAM) gdb$(EXEEXT) \
++ slibtool --mode=install $(INSTALL_PROGRAM) gdb$(EXEEXT) \
+ $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
+ $(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
@@ -1407,7 +1407,8 @@
# Removing the old gdb first works better if it is running, at least on SunOS.
gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)