Skip to content

Commit

Permalink
fix windows mx/mex not found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jun 23, 2023
1 parent 910be8b commit 3383f74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Makefile
Expand Up @@ -92,9 +92,9 @@ else
endif
ifeq ($(HAVE_ZSTD),no)
INCLUDEDIRS+=-Iblosc2/internal-complibs/zstd-1.5.2
LIBZLIB+=-L"./blosc2/internal-complibs/zstd-1.5.2" -lzstd
LIBZLIB+=-Lblosc2/internal-complibs/zstd-1.5.2 -lzstd
endif
LIBZLIB+=-L"./blosc2/lib" -lblosc2 -lpthread
LIBZLIB+=-Lblosc2/lib -lblosc2 -lpthread
INCLUDEDIRS+=-Iblosc2/include
endif

Expand All @@ -109,7 +109,7 @@ ifeq ($(HAVE_ZSTD),no)
CFLAGS+=-DNO_ZSTD
else
INCLUDEDIRS+=-Iblosc2/internal-complibs/zstd-1.5.2
LIBZLIB+=-L"./blosc2/internal-complibs/zstd-1.5.2" -lzstd
LIBZLIB+=-Lblosc2/internal-complibs/zstd-1.5.2 -lzstd
endif


Expand Down Expand Up @@ -154,7 +154,7 @@ oct: LINKOPT+=--mex $(INCLUDEDIRS)
mex: CXX=$(MEX)
mex: OUTPUTFLAG:=-output
mex: AR=$(MEX) zmat.cpp $(INCLUDEDIRS)
mex: LINKOPT+= -cxx LINKLIBS="-L\$$MATLABROOT/bin/\$$ARCH -lmx -lmex $(MEXLINKOPT) $(LIBZLIB)" CXXLIBS="\$$CXXLIBS $(MEXLINKOPT) $(LIBZLIB)" -outdir $(ZMATDIR)
mex: LINKOPT+= -cxx LINKLIBS="-L'\$$MATLABROOT/bin/\$$ARCH' -lmx -lmex $(MEXLINKOPT) $(LIBZLIB)" CXXLIBS="\$$CXXLIBS $(MEXLINKOPT) $(LIBZLIB)" -outdir $(ZMATDIR)
mex: ARFLAGS :=
mex: OUTPUT_DIR=..

Expand Down

0 comments on commit 3383f74

Please sign in to comment.