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
 
50
 
51
 Serial.dll: serialHelper.c winSerial.c serialInterface.h
51
 Serial.dll: serialHelper.c winSerial.c serialInterface.h
52
 	$(CC) -x c -std=$(STANDARD) -DBUILDINGDLL -I$(HEADERPATH) -c serialHelper.c -o serialHelper.o -D winHelper
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
 # Delete intermediate files
55
 # Delete intermediate files
56
 clean:
56
 clean:

Loading…
Cancel
Save