Skip to content

Commit

Permalink
Makefile update.
Browse files Browse the repository at this point in the history
Fixes issue #19: moving the link statements to the end of the flag
declarations appears to fix the build issue.
  • Loading branch information
awdavies committed Mar 12, 2018
1 parent e6000e3 commit d35afa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linux/example/Makefile
Expand Up @@ -75,7 +75,7 @@ $(FLUTTER_EXAMPLE_DIR)/build:
--local-engine=$(FLUTTER_ENGINE_BUILD);

$(BIN_OUT): $(SOURCES) $(LIBRARIES)
$(CXX) $(CXXFLAGS) -o $@ $(SOURCES)
$(CXX) $(SOURCES) $(CXXFLAGS) -o $@

.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion linux/library/Makefile
Expand Up @@ -28,7 +28,7 @@ SOURCES=flutter_embedder.cc
all: $(LIBRARY_OUT)

$(LIBRARY_OUT): $(SOURCES) $(HEADERS) $(LIBRARIES)
$(CXX) $(CXXFLAGS) -o $@ $(SOURCES)
$(CXX) $(SOURCES) $(CXXFLAGS) -o $@

.PHONY: clean
clean:
Expand Down

0 comments on commit d35afa9

Please sign in to comment.