diff options
Diffstat (limited to 'system/arj/patches/gnu_build_fix.patch')
-rw-r--r-- | system/arj/patches/gnu_build_fix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/system/arj/patches/gnu_build_fix.patch b/system/arj/patches/gnu_build_fix.patch new file mode 100644 index 0000000000..e9ab1b6929 --- /dev/null +++ b/system/arj/patches/gnu_build_fix.patch @@ -0,0 +1,24 @@ +--- + gnu/configure.in | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +--- a/gnu/configure.in ++++ b/gnu/configure.in +@@ -49,16 +49,11 @@ OS_DEF="-D_UNIX" + DLL_CFLAGS="-fPIC" + + case $host_os in +-linux*) ++gnu*|linux*|k*bsd*) + AC_DEFINE(ELF_EXECUTABLES, 1, [Define if executables use ELF format]) + DYN_LIBS="-ldl" + LD_STRIP="gnu/stripgcc.lnk" + ;; +-k*bsd*) +- AC_DEFINE(ELF_EXECUTABLES) +- DYN_LIBS="-ldl" +- LD_STRIP="gnu/stripgcc.lnk" +- ;; + *bsd*) + AC_DEFINE(ELF_EXECUTABLES) + DLL_FLAGS="-shared -export-dynamic" |