Commit 46956e09 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix detection of MacOS X in

parent ddd2c98f
......@@ -298,7 +298,7 @@ AC_SUBST(MOD_LIBADD)
[MOD_LDFLAGS="-module -avoid-version -export-dynamic -no-undefined -Wl,-E -Wl,--as-needed"]
# MacOS needs different options
if test "x${target_os}" = "xdarwin"; then
if [[ `echo ${target_os} | grep -c -e "^darwin"` == 1 ]]; then
[MOD_LDFLAGS="-module -dynamiclib"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment