openbsd-ports/audio/openal/patches/patch-admin_pkgconfig_openal-config_in
sthen 77dc3bf601 Ports using OpenAL require libossaudio to link properly; record this
in the pkgconfig/openal-config files so those ports can handle it without
hacks. From Brad.
2009-10-10 22:51:48 +00:00

16 lines
584 B
Plaintext

$OpenBSD: patch-admin_pkgconfig_openal-config_in,v 1.1 2009/10/10 22:51:48 sthen Exp $
--- admin/pkgconfig/openal-config.in.orig Fri Oct 9 22:54:00 2009
+++ admin/pkgconfig/openal-config.in Fri Oct 9 22:54:16 2009
@@ -9,9 +9,9 @@ PACKAGE_VERSION="@PACKAGE_VERSION@"
# PTHREAD_CFLAGS="@PTHREAD_CFLAGS@"
# PTHREAD_LIBS="@PTHREAD_LIBS@"
-openal_dynamic_ldflags="-lopenal"
+openal_dynamic_ldflags="-lopenal -lossaudio"
# TODO: configure should provide the following...
-openal_static_ldflags="-lopenal"
+openal_static_ldflags="-lopenal -lossaudio"
prefix_set=no
echo_prefix=no