Fix windows build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
28093df757
commit
c6400e5bcd
2 changed files with 5 additions and 3 deletions
|
@ -36,7 +36,7 @@ namespace rack {
|
||||||
namespace network {
|
namespace network {
|
||||||
std::string encodeUrl(const std::string&) { return {}; }
|
std::string encodeUrl(const std::string&) { return {}; }
|
||||||
json_t* requestJson(Method, const std::string&, json_t*, const CookieMap&) { return nullptr; }
|
json_t* requestJson(Method, const std::string&, json_t*, const CookieMap&) { return nullptr; }
|
||||||
bool requestDownload(const std::string&, const std::string&, float*, const CookieMap&) { return nullptr; }
|
bool requestDownload(const std::string&, const std::string&, float*, const CookieMap&) { return false; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@ FILES_DSP += $(filter-out Rack/src/window/Window.cpp, $(wildcard Rack/src/*/*.cp
|
||||||
|
|
||||||
EXTRA_LIBS += Rack/dep/lib/libjansson.a
|
EXTRA_LIBS += Rack/dep/lib/libjansson.a
|
||||||
EXTRA_LIBS += Rack/dep/lib/libspeexdsp.a
|
EXTRA_LIBS += Rack/dep/lib/libspeexdsp.a
|
||||||
EXTRA_LIBS += Rack/dep/lib/libzstd.a
|
|
||||||
|
|
||||||
ifeq ($(WINDOWS),true)
|
ifeq ($(WINDOWS),true)
|
||||||
EXTRA_LIBS += Rack/dep/lib/libarchive_static.a
|
EXTRA_LIBS += Rack/dep/lib/libarchive_static.a
|
||||||
|
@ -62,6 +61,8 @@ EXTRA_LIBS += Rack/dep/lib/libarchive.a
|
||||||
EXTRA_LIBS += Rack/dep/lib/libGLEW.a
|
EXTRA_LIBS += Rack/dep/lib/libGLEW.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
EXTRA_LIBS += Rack/dep/lib/libzstd.a
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Do some magic
|
# Do some magic
|
||||||
|
|
||||||
|
@ -126,7 +127,8 @@ endif
|
||||||
|
|
||||||
ifeq ($(MACOS),true)
|
ifeq ($(MACOS),true)
|
||||||
LINK_FLAGS += -framework IOKit
|
LINK_FLAGS += -framework IOKit
|
||||||
# LINK_FLAGS += -Wl,-all_load
|
else ifeq ($(WINDOWS),true)
|
||||||
|
LINK_FLAGS += -ldbghelp -lshlwapi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# LINK_FLAGS += $(OPENGL_LIBS)
|
# LINK_FLAGS += $(OPENGL_LIBS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue