scsi2sd-util crash on exit fix (again)
[SCSI2SD-V6.git] / software / scsi2sd-util / Makefile
index 22794df..d84529c 100755 (executable)
@@ -36,13 +36,13 @@ ifeq ($(TARGET),Win64)
 endif
 ifeq ($(TARGET),Linux)
        VPATH += hidapi/linux
-       LDFLAGS += -ludev
+       LDFLAGS += -ludev -lexpat
        BUILD = build/linux
 endif
 ifeq ($(TARGET),Darwin)
        # Should match OSX
        VPATH += hidapi-mac
-       LDFLAGS += -framework IOKit -framework CoreFoundation
+       LDFLAGS += -framework IOKit -framework CoreFoundation -lexpat
        CC=clang -mmacosx-version-min=10.7
        CXX=clang++ -stdlib=libc++ -mmacosx-version-min=10.7
        WX_CONFIG += --with-macosx-version-min=10.7