Skip to content

Commit

Permalink
Added FFTW option to link command for so library so that it's linked-…
Browse files Browse the repository at this point in the history
…in when

compiling programs (otherwise compilation fails unless -lfftw3 is added when
compiling).
  • Loading branch information
nezumisama committed Apr 21, 2018
1 parent bf3bf56 commit 0501f10
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 @@ -47,7 +47,7 @@ spectrogram.o: spectrogram.c sonic.h
$(CC) $(CFLAGS) -c spectrogram.c

libsonic.so.$(LIB_TAG): $(OBJ)
$(CC) $(CFLAGS) -shared -Wl,-$(SONAME),libsonic.so.0 $(OBJ) -o libsonic.so.$(LIB_TAG)
$(CC) $(CFLAGS) -shared -Wl,-$(SONAME),libsonic.so.0 $(OBJ) -o libsonic.so.$(LIB_TAG) $(FFTLIB)
ln -sf libsonic.so.$(LIB_TAG) libsonic.so
ln -sf libsonic.so.$(LIB_TAG) libsonic.so.0

Expand Down

0 comments on commit 0501f10

Please sign in to comment.