Skip to content

Commit

Permalink
framework: Makefile: LINK_LIBS latest in linking command (#259)
Browse files Browse the repository at this point in the history
Idea: `libpdaf` / `libmodel` and component model libraries should be to
the left of `LINK_LIBS` as they may use `LINK_LIBS` (typically MPI library, netCDF
library).
  • Loading branch information
jjokella authored Nov 29, 2024
1 parent 3f4cbf7 commit bae512a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bldsva/intf_DA/pdaf/framework/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $(PROG) : $(LIBMODEL) libpdaf-d.a \
$(MODULES) $(MOD_ASSIM) $(OBJ_MODEL_PDAF) $(OBJ_PDAF_INT) $(OBJ_PDAF_USER)
$(PREP_C) $(LD) $(OPT_LNK) -o $@ \
$(MODULES) $(MOD_ASSIM) $(OBJ_MODEL_PDAF) $(OBJ_PDAF_INT) $(OBJ_PDAF_USER) \
-L$(BASEDIR)/lib -lpdaf-d $(LINK_LIBS) $(LIBMODEL) $(LIBS)
-L$(BASEDIR)/lib -lpdaf-d $(LIBMODEL) $(LIBS) $(LINK_LIBS)

######################################################

Expand Down

0 comments on commit bae512a

Please sign in to comment.