Skip to content

Commit

Permalink
Link to -lm
Browse files Browse the repository at this point in the history
  • Loading branch information
msepga committed Dec 21, 2023
1 parent 0146447 commit bb29f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ifeq ($(USE_PROTOBUF_CPP),1)
else
override CXXFLAGS += -O3 -g
endif
override TEST_LDFLAGS += `pkg-config --libs protobuf` -lstdc++
override TEST_LDFLAGS += `pkg-config --libs protobuf` -lstdc++ -lm

# Don't use regular Protobuf-C or JSON implementation (instead implement the same methods using the C++ library)
SRC_FILES := $(filter-out src/pg_query_outfuncs_json.c src/pg_query_outfuncs_protobuf.c, $(SRC_FILES))
Expand Down

0 comments on commit bb29f63

Please sign in to comment.