Skip to content

Commit

Permalink
Use LDFLAGS when linking libymmsl
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Jan 14, 2024
1 parent 7d4837d commit 0ae11af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libmuscle/cpp/build/ymmsl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,19 @@ libymmsl.a: $(objects)
ar rcs $@ $^

libymmsl.so: $(lobjects)
$(CXX) -shared -o $@ $^
$(CXX) -shared -o $@ $^ $(LDFLAGS)

libymmsl.dylib: $(lobjects)
$(CXX) -shared -o $@ $^
$(CXX) -shared -o $@ $^ $(LDFLAGS)

libymmsl_d.a: $(dobjects)
ar rcs $@ $^

libymmsl_d.so: $(dlobjects)
$(CXX) -shared -o $@ $^
$(CXX) -shared -o $@ $^ $(LDFLAGS)

libymmsl_d.dylib: $(dlobjects)
$(CXX) -shared -o $@ $^
$(CXX) -shared -o $@ $^ $(LDFLAGS)

$(PREFIX)/include/%.hpp: $(hdrdir)/%.hpp
@mkdir -p $(@D)
Expand Down

0 comments on commit 0ae11af

Please sign in to comment.