summaryrefslogtreecommitdiff
path: root/mk/deps.sh
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 16:50:44 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 16:50:44 -0400
commit615e057b2c92687dbc67732886a1518d45ad01c5 (patch)
tree0fdc1eab187939a50288b3604eb280e2057f2f74 /mk/deps.sh
parent687265e54a2eb757404c21d9a262643987e21dbb (diff)
update dependencies
Diffstat (limited to 'mk/deps.sh')
-rw-r--r--mk/deps.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/deps.sh b/mk/deps.sh
index a54d10b3..b4a21658 100644
--- a/mk/deps.sh
+++ b/mk/deps.sh
@@ -51,6 +51,9 @@ C=$(grep -F 'STDC(' $SOURCE | sed -e 's/STDC(//;s/,.*//;s/)$//g')
test -n "$C" && printf 'lib%s_C.%s: lib%s.a(%s.o)\n' $LIB $C $LIB $BASE
#echo "#C: $C"
+CX1=$(grep -F 'CEXT1(' $SOURCE | sed -e 's/CEXT1(//;s/,.*//;s/)$//g')
+test -n "$CX1" && printf 'lib%s_C_X1.%s: lib%s.a(%s.o)\n' $LIB $CX1 $LIB $BASE
+
P=$(grep -F 'POSIX(' $SOURCE | sed -e 's/POSIX(//;s/,.*//;s/)$//g')
test -n "$P" && printf 'lib%s_P.%s: lib%s.a(%s.o)\n' $LIB $P $LIB $BASE
#echo "#POSIX: $P"
@@ -59,7 +62,7 @@ X=$(grep -F 'XOPEN(' $SOURCE | sed -e 's/XOPEN(//;s/,.*//;s/)$//g')
test -n "$X" && printf 'lib%s_X.%s: lib%s.a(%s.o)\n' $LIB $X $LIB $BASE
#echo "#XOPEN: $X"
-if [ -z "$C" ] && [ -z "$P" ] && [ -z "$X" ]; then
+if [ -z "$C" ] && [ -z "$P" ] && [ -z "$X" ] && [ -z "$CX1" ]; then
printf 'lib%s_C.0: lib%s.a(%s.o)\n' $LIB $LIB $BASE
fi