1 --- xvidcore/build/generic/configure.in.~1~ 2015-06-21 17:21:32.000000000 +0300
2 +++ xvidcore/build/generic/configure.in 2015-07-20 13:58:47.421422706 +0300
7 - linux*|solaris*|gnu*|*qnx*)
10 STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
11 SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
13 SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,--version-script=libxvidcore.ld -lc -lm"
14 SPECIFIC_CFLAGS="-fPIC"
18 + STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
19 + SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
20 + # because nasm don't produce pic code. And symbol 'main' is added and undefined.
21 + #SPECIFIC_LDFLAGS="-Wl,-h,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -Wl,-G -Wl,-M,libxvidcore.ld -lc -lm"
22 + SPECIFIC_LDFLAGS="-Wl,-h,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -Wl,-G -Wl,-M,libxvidcore.ld -lc -lm -shared -mimpure-text"
23 + SPECIFIC_CFLAGS="-fPIC"
27 STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"