[3/4] tcl: install private headers for expect to use in build

Message ID 20251030101830.30837-3-adolf.belka@ipfire.org
State Staged
Commit 581c9df1b4bda8ec154db78c9b99e988f46be033
Headers
Series [1/4] expect: Allow build of expect for swtpm |

Commit Message

Adolf Belka 30 Oct 2025, 10:18 a.m. UTC
- expect looks for both the public and private headers so make install-private-headers
   added into lfs.
- Update of rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/tcl | 7 +++++++
 lfs/tcl                     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
  

Patch

diff --git a/config/rootfiles/common/tcl b/config/rootfiles/common/tcl
index e01d7cfa2..e64e428c1 100644
--- a/config/rootfiles/common/tcl
+++ b/config/rootfiles/common/tcl
@@ -16,12 +16,19 @@  usr/bin/tclsh8.6
 #usr/include/pqStubs.h
 #usr/include/tcl.h
 #usr/include/tclDecls.h
+#usr/include/tclInt.h
+#usr/include/tclIntDecls.h
+#usr/include/tclIntPlatDecls.h
 #usr/include/tclOO.h
 #usr/include/tclOODecls.h
+#usr/include/tclOOInt.h
+#usr/include/tclOOIntDecls.h
 #usr/include/tclPlatDecls.h
+#usr/include/tclPort.h
 #usr/include/tclThread.h
 #usr/include/tclTomMath.h
 #usr/include/tclTomMathDecls.h
+#usr/include/tclUnixPort.h
 #usr/include/tdbc.h
 #usr/include/tdbcDecls.h
 #usr/include/tdbcInt.h
diff --git a/lfs/tcl b/lfs/tcl
index b02f11ac0..1cf940ed2 100644
--- a/lfs/tcl
+++ b/lfs/tcl
@@ -80,8 +80,8 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP)/unix && ./configure --prefix=$(PREFIX)
 	cd $(DIR_APP)/unix && make $(MAKETUNING)
 	cd $(DIR_APP)/unix && make install
-ifneq "$(ROOT)" ""
 	cd $(DIR_APP)/unix && make install-private-headers
+ifneq "$(ROOT)" ""
 	ln -sf tclsh8.6 $(TOOLS_DIR)/bin/tclsh
 else
 	ln -sf tclsh8.6 /usr/bin/tclsh