summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index 336806a..1fa2d49 100755
--- a/build
+++ b/build
@@ -9,6 +9,7 @@ nop:
configure:
TCL_LIBRARY='/usr/share/$(OPK_SOURCE)' \
+ TCL_PACKAGE_PATH='$${TCL_LIBRARY}' \
TCL_SHLIB_LD_EXTRAS='-Wl,-soname,$${TCL_LIB_FILE}' \
oh-autoconfigure -s src/unix -B src/unix -- \
--enable-shared \
@@ -25,6 +26,11 @@ build: configure
install: build
oh-autoinstall -s src/unix -B src/unix -- \
MANN_INSTALL_DIR='$$(MAN_INSTALL_DIR)/man3'
+ for dir in generic unix compat libtommath; do \
+ mkdir -p dest/usr/include/$(OPK_SOURCE)/tcl-private/$${dir}; \
+ cp src/$${dir}/*.h \
+ dest/usr/include/$(OPK_SOURCE)/tcl-private/$${dir}; \
+ done
mv dest/usr/share/man/man1/tclsh.1 dest/usr/share/man/man1/tclsh.$(V).1
oh-fixperms
oh-strip