#!/bin/sh -
FLEXDIR=@libdir@/flexdll
-@libdir@/flexdll/flexlink.exe
\ No newline at end of file
+@libdir@/flexdll/flexlink.exe "$@"
\ No newline at end of file
Name: mingw32-flexdll
Version: 0.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: FlexDLL Windows DLL plugin API which is like dlopen
License: zlib
%changelog
-* Fri Nov 14 2008 Richard W.M. Jones <rjones@redhat.com> - 0.11-1
+* Fri Nov 14 2008 Richard W.M. Jones <rjones@redhat.com> - 0.11-2
- Initial RPM release.
-libdir %{_libdir}/ocaml \
-x11lib %{_libdir} \
-x11include %{_includedir} \
- -mandir %{_mandir}/man1
+ -mandir %{_mandir}/man1 \
+ -cc %{_mingw32_cc} \
+ -as %{_mingw32_as}
+# ./configure creates the following files:
+# config/Makefile - containing mainly paths and names of build tools
+# config/m.h - containing the machine description
+# config/s.h - containing the environment / API description
+
+# Overwrite the generated m.h & s.h with the ones from Windows NT.
cp config/m-nt.h config/m.h
+cp config/s-nt.h config/s.h
make world bootstrap opt opt.opt
%changelog
-* Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-1
+* Fri Nov 14 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11.0+beta1-1
- Initial RPM release.