Skip to content

Commit

Permalink
Use LDFLAGS to link library (idaholab#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Jan 8, 2020
1 parent bb141c6 commit eadb4eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/fftw3.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
ifeq ($(shell pkg-config fftw3 && echo go),go)
ADDITIONAL_INCLUDES += $(shell pkg-config fftw3 --cflags)
ADDITIONAL_CPPFLAGS += -DFFTW3_ENABLED
ADDITIONAL_LIBS += $(shell pkg-config fftw3 --libs)
FFTW3LIBS := $(shell pkg-config fftw3 --libs)
ADDITIONAL_LIBS += $(FFTW3LIBS)
LDFLAGS += $(FFTW3LIBS)
endif

0 comments on commit eadb4eb

Please sign in to comment.