Revision 21d0a823 configure

View differences:

configure
872 872
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
873 873
EXESUF=""
874 874
BUILDSUF=""
875
LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(libdir)/$(LIB)"'
875
LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(LIBDIR)/$(LIB)"'
876 876

  
877 877
# find source path
878 878
source_path="`dirname \"$0\"`"
......
1110 1110
    dv1394="no"
1111 1111
    need_memalign="no"
1112 1112
    LIBOBJFLAGS="\$(PIC)"
1113
    LDCONFIG="ldconfig -m \$(shlibdir)"
1113
    LDCONFIG="ldconfig -m \$(SHLIBDIR)"
1114 1114
    SHFLAGS='-shared'
1115 1115
    SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)'
1116 1116
    SLIBNAME_WITH_VERSION='$(SLIBNAME)'
......
1134 1134
  darwin)
1135 1135
    dv1394="no"
1136 1136
    need_memalign="no"
1137
    SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(shlibdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -Wl,-read_only_relocs,suppress"
1138
    VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(shlibdir)/vhook/$@'
1137
    SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(SHLIBDIR)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -Wl,-read_only_relocs,suppress"
1138
    VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(SHLIBDIR)/vhook/$@'
1139 1139
    osextralibs=""
1140 1140
    strip="strip -x"
1141 1141
    FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
......
1158 1158
    SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
1159 1159
    SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
1160 1160
    SLIB_EXTRA_CMD="-lib /machine:i386 /def:\$(@:${SLIBSUF}=.def)"
1161
    SLIB_INSTALL_EXTRA_CMD="-install -m 644 \$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib) \"\$(shlibdir)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)\""
1161
    SLIB_INSTALL_EXTRA_CMD="-install -m 644 \$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib) \"\$(SHLIBDIR)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)\""
1162 1162
    SHFLAGS="-shared -Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base"
1163 1163
    enabled network && add_extralibs -lws2_32
1164 1164
    ;;

Also available in: Unified diff