Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more msys: no symlinks, Makefile template from cygwin

  • Loading branch information...
commit ad3165ef0ab90d4cb7cba881deb98a1188574fc1 1 parent c7a4717
Reini Urban authored
Showing with 24 additions and 1 deletion.
  1. +23 −1 Makefile.SH
  2. +1 −0  hints/msys.sh
24 Makefile.SH
View
@@ -60,7 +60,7 @@ true)
${revision}.${patchlevel}.${subversion} \
-install_name \$(shrpdir)/\$@"
;;
- cygwin*)
+ cygwin*|msys*)
shrpldflags="$shrpldflags -Wl,--out-implib=libperl.dll.a -Wl,--image-base,0x52000000"
linklibperl="-L. -lperl"
;;
@@ -753,6 +753,28 @@ $(LIBPERL_NONSHR): $(obj)
!NO!SUBS!
;;
+msys)
+ $spitshell >>$Makefile <<'!NO!SUBS!'
+win32.c: win32/$@
+ $(LNS) $?
+
+win32sck.c: win32/$@
+ $(LNS) $?
+
+win32thread.c: win32/$@
+ $(LNS) $?
+
+win32io.c: win32/$@
+ $(LNS) $?
+
+LIBPERL_NONSHR = libperl$(LIB_EXT)
+
+$(LIBPERL_NONSHR): $(obj)
+ $(RMS) $(LIBPERL_NONSHR)
+ $(AR) rcu $(LIBPERL_NONSHR) $(obj)
+
+!NO!SUBS!
+ ;;
esac
if test -s $Makefile_s ; then
1  hints/msys.sh
View
@@ -18,6 +18,7 @@ then
plibpth=`cd $plibpth && pwd`
fi
usenm=no
+issymlink=false
# XXX this is fragile
libc=/usr/lib/libmsys-1.0.dll.a
so='dll'
Please sign in to comment.
Something went wrong with that request. Please try again.