Undo #2395, seems more like a problem in netbsd-current.
[p5sagit/p5-mst-13.2.git] / mpeix / relink
1 #!/bin/sh
2
3 # MPE/iX as of 5.5 does not yet properly support linking against dynamic
4 # libraries via gcc or ld.  For now, re-run gcc without the external library
5 # list, and then run the native linker with the list of dynamic libraries.
6
7 gcc -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -L/BIND/PUB/lib -lbind
8 callci 'linkedit "altprog ./perl;xl=/lib/libsvipc.sl,/usr/lib/libsocket.sl,/lib/libm.sl,/lib/libc.sl"'