summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-30 21:26:32 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-30 21:26:32 +0200
commitc27d5ba97ff1f15a178751759a54c511f5e13652 (patch)
tree92f24466bbd2588b6c10348ea2a695c6d3c2d9b9 /plugins
parent012b016c23fee87d0b78bb42d6b784fddb496a9a (diff)
0.5.0-beta2 build
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ao/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ao/Makefile b/plugins/ao/Makefile
index 5e0b3f3f..3b8e24ad 100644
--- a/plugins/ao/Makefile
+++ b/plugins/ao/Makefile
@@ -2,10 +2,11 @@ OUT=ao.so
CC=gcc
-ZLIB_LIBS=-lz
+ZLIB_LIBS?=-lz
CFLAGS?=-O2 -fomit-frame-pointer
CFLAGS+=-Wall -fPIC -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I../.. -I./ -Ieng_ssf -Ieng_qsf -Ieng_dsf
+CFLAGS+=$(STATIC_CFLAGS)
LDFLAGS+=-module -shared $(ZLIB_LIBS) -lm