diff options
author | Andy Broad <andy@broad.ology.org.uk> | 2015-08-13 19:19:31 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-05 11:12:43 -0400 |
commit | c8aec1f6fbd64991e684df901a3b6326ca921302 (patch) | |
tree | bfa89b3ff8b39fd4b0e800b72b01a28e19589e3e /Makefile.SH | |
parent | f2bbbc991c18f0c1fb4e31431e69c5c0f6bad12c (diff) | |
download | perl-c8aec1f6fbd64991e684df901a3b6326ca921302.tar.gz |
amigaos4: the Perl executable needs to be linked with -ldl
(but none of the other executables should be)
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-x | Makefile.SH | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH index e7c828785d..de6d6c9f07 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -953,6 +953,12 @@ $(PERL_EXE): $& perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPOR !NO!SUBS! case $osname in + # In AmigaOS the Perl executable needs to be linked with -ldl, + # but none of the other executables should be. + amigaos) $spitshell >>$Makefile <<'!NO!SUBS!' + $(SHRPENV) $(CC) -o perl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(LLIBPERL) $(static_ext) `cat ext.libs` $(libs) -ldl +!NO!SUBS! + ;; os390) $spitshell >>$Makefile <<'!NO!SUBS!' $(SHRPENV) $(CC) -o perl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) $(LLIBPERL) $(static_ext) `cat ext.libs` $(libs) !NO!SUBS! |