Added detection for dlltool and windres which are needed to build dlls. unlabeled-3.4.24
authorcls%seawood.org
Wed, 14 Jul 1999 07:03:59 +0000
branchunlabeled-3.4.24
changeset 702 e4be2e3441f1
parent 574 3141b6b4d84f
push idunknown
push userunknown
push dateunknown
Added detection for dlltool and windres which are needed to build dlls. Changed rules.mk so MKSHLIB is now expected to contain the appropriate option to state what the object file is (ie, -o $*.so) Unhardcoded OBJ_SUFFIX, DLL_SUFFIX, & LIB_SUFFIX. Successfully compiled and linked a static nspr test program (alarm & fsync) using linux->mingw32 cross-compiler and successfully ran it on a win95 box.
pr/src/nspr.rc
--- a/pr/src/nspr.rc
+++ b/pr/src/nspr.rc
@@ -19,18 +19,19 @@
 #include "resource.h"
 
 #define APSTUDIO_READONLY_SYMBOLS
 /////////////////////////////////////////////////////////////////////////////
 //
 // Generated from the TEXTINCLUDE 2 resource.
 //
 #ifndef WIN16
+#if !defined(__MINGW32__)
 #include "afxres.h"
-
+#endif
 /////////////////////////////////////////////////////////////////////////////
 #undef APSTUDIO_READONLY_SYMBOLS
 
 /////////////////////////////////////////////////////////////////////////////
 // English (U.S.) resources
 
 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
 #ifdef _WIN32