Browse Source

Fixed windows problems!

Finally! It's working… The DLL did not follow the _stdcall naming
convention!
Thomas Buck 12 years ago
parent
commit
39e87d7bdd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CubeControl/libSerial/makefile

+ 1
- 1
CubeControl/libSerial/makefile View File

@@ -50,7 +50,7 @@ libSerial.so: serialHelper.c unixSerial.c serialInterface.h
50 50
 
51 51
 Serial.dll: serialHelper.c winSerial.c serialInterface.h
52 52
 	$(CC) -x c -std=$(STANDARD) -DBUILDINGDLL -I$(HEADERPATH) -c serialHelper.c -o serialHelper.o -D winHelper
53
-	$(CC) -shared -o Serial.dll serialHelper.o
53
+	$(CC) -shared -Wl,--kill-at -o Serial.dll serialHelper.o
54 54
 
55 55
 # Delete intermediate files
56 56
 clean:

Loading…
Cancel
Save