瀏覽代碼

Fixed windows problems!

Finally! It's working… The DLL did not follow the _stdcall naming
convention!
Thomas Buck 12 年之前
父節點
當前提交
39e87d7bdd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      CubeControl/libSerial/makefile

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

@@ -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…
取消
儲存