summaryrefslogtreecommitdiff
path: root/plugins/flac/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/flac/Makefile.am')
-rw-r--r--plugins/flac/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/flac/Makefile.am b/plugins/flac/Makefile.am
index 40023a16..5b1f5c7e 100644
--- a/plugins/flac/Makefile.am
+++ b/plugins/flac/Makefile.am
@@ -5,10 +5,10 @@ flac_la_SOURCES = flac.c
flac_la_LDFLAGS = -module -avoid-version -export-symbols-regex flac_load
if HAVE_OGG
-oggedit_def = -DUSE_OGGEDIT=1
-oggedit_lib = ../liboggedit/liboggedit.a
+oggedit_def = -DUSE_OGGEDIT=1 $(OGG_CFLAGS)
+oggedit_lib = ../liboggedit/liboggedit.a $(OGG_LIBS)
endif
-flac_la_LIBADD = $(LDADD) $(FLAC_LIBS) $(oggedit_lib)
+flac_la_LIBADD = $(LDADD) $(FLAC_LIBS) $(oggedit_lib)
AM_CFLAGS = $(CFLAGS) $(FLAC_CFLAGS) $(oggedit_def) -std=c99
endif