search for: mylib_ldflags

Displaying 1 result from an estimated 1 matches for "mylib_ldflags".

Did you mean: dylib_ldflags
2011 Jun 21
2
Using winemaker / building wine DLLs
...an explicit target for .o files (since the implicit target doesn't use CEXTRA) This made the compile fail with errors about missing WinMain, which makes sense because -shared isn't being specified for compiling the .so. So, I hacked the makefile again and added -m32, -shared, and -fpic to MyLib_LDFLAGS. This finally succeeded, but it only gave me a MyLib.dll.so file; my understanding is that there should also be a MyLib.so file that I link against when compiling my Windows binary. I suspect I'm missing some fundamental assumption about Windows binaries - that, or the way winemaker is suppos...