$OpenBSD: patch-toolkit_library_Makefile_in,v 1.15 2012/04/30 15:28:42 landry Exp $ https://bugzilla.mozilla.org/show_bug.cgi?id=648726 https://bugzilla.mozilla.org/show_bug.cgi?id=648730 --- toolkit/library/Makefile.in.orig Wed Apr 11 15:55:21 2012 +++ toolkit/library/Makefile.in Wed Apr 18 22:09:16 2012 @@ -484,6 +484,12 @@ OS_LIBS += \ $(NULL) endif +ifeq ($(OS_ARCH),OpenBSD) +ifdef MOZ_SYDNEYAUDIO +EXTRA_DSO_LDOPTS += -lsndio +endif +endif + ifeq ($(OS_ARCH),Darwin) ifdef MOZ_SYDNEYAUDIO OS_LIBS += \ @@ -495,12 +501,6 @@ OS_LIBS += \ -framework Foundation \ -framework AppKit \ $(NULL) -endif -endif - -ifneq (,$(filter NetBSD OpenBSD,$(OS_ARCH))) -ifdef MOZ_SYDNEYAUDIO -EXTRA_DSO_LDOPTS += -lossaudio endif endif