Skip to content

Commit

Permalink
make -lm a private library in fftw.pc.in
Browse files Browse the repository at this point in the history
Julian Taylor says:

  Make -lm a private library, libfftw is linked against it so clients
  don't need it.  You can use pkg-configs --static flag for static
  linking.  this works on all systems where indirect linking works,
  probably on all others pkg-config is not supported anyway (wild
  guess).
  • Loading branch information
matteo-frigo committed Dec 4, 2012
1 parent 553849f commit 6e61541
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fftw.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ includedir=@includedir@
Name: FFTW
Description: fast Fourier transform library
Version: @VERSION@
Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@ -lm
Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@
Libs.private: -lm
Cflags: -I${includedir}

0 comments on commit 6e61541

Please sign in to comment.