浏览代码

Fixed windows problems!

Finally! It's working… The DLL did not follow the _stdcall naming
convention!
Thomas Buck 13 年前
父节点
当前提交
39e87d7bdd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      CubeControl/libSerial/makefile

+ 1
- 1
CubeControl/libSerial/makefile 查看文件

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:

正在加载...
取消
保存