Skip to content

Commit 15b9f2f

Browse files
committed
Add LDFLAGS to Makefile
1 parent 7ec36bb commit 15b9f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ mex-double: mex
8484
.PHONY: mex mex-double
8585

8686
%.mex: %.cpp
87-
CXXFLAGS="$(CXXFLAGS)" mkoctfile --mex $< $(CPPFLAGS)
87+
CXXFLAGS="$(CXXFLAGS)" mkoctfile --mex $< $(CPPFLAGS) $(LDFLAGS)
8888
$(RM) $*.o
8989

9090
clean: clean-mex

0 commit comments

Comments
 (0)