Shell isn't portable, so upstream ksh93 has a "flat" function that we can use to put binaries in a static place that doesn't require a shell command. We still do need an intermediate setup.sh shell script due to a bug in ksh that object files aren't being put in lib, and FEATURE not in include. We also cut out some unused symbols, and a hpux specific implementation of dynlib (new hpux should conform to the posix implementation anyhow.)
10 lines
290 B
Bash
Executable File
10 lines
290 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#this script is necessary due to a bug in ksh where flat make doesnt actually
|
|
#put all assets we need in the proper directories
|
|
|
|
HOSTDIR=$(./ksh93/bin/package host)
|
|
|
|
cp ./ksh93/arch/$HOSTDIR/src/cmd/ksh93/pmain.o pmain.o
|
|
ln -s ./ksh93/arch/$HOSTDIR/src/cmd/ksh93/FEATURE FEATURE
|