1
0
Fork 0

fixed building of shared libs on osx

This commit is contained in:
bagyenda 2011-01-05 06:32:48 +00:00
parent fedce613cf
commit 7c1654c5dd
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
2011-01-05 P. A. Bagyenda <bagyenda@dsmagic.com>
* Added strip-prefixes option for each mmsc connection (mmsbox)
* Fixed building of shared libs on mac os x
2011-01-04 P. A. Bagyenda <bagyenda@dsmagic.com>
* mm1 mmsbox plugin fix Thanks to Piotr Isajew (pki at ex.com.pl)
2011-01-03 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -80,6 +80,7 @@ case "$host" in
*apple-darwin*)
CFLAGS="$CFLAGS -DDARWIN=1 -O4 -Wall -D_REENTRANT=1"
LIB_EXT="dylib"
allow_undefined_flag='-flat_namespace -undefined suppress'
;;
*-linux*)
CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_REENTRANT=1"