Ticket #1322: fix-kfreebsd-ftbfs-v5.patch

File fix-kfreebsd-ftbfs-v5.patch, 515 bytes (added by Vincent Cheng, 12 years ago)
  • build/premake/premake4.lua

    Description: Fix FTBFS on Debian GNU/kFreeBSD
     Link with -ldl instead of -lexecinfo on kfreebsd to fix FTBFS.
    Forwarded: http://trac.wildfiregames.com/ticket/1322
    Author: Vincent Cheng <Vincentc1208@gmail.com>
    Last-Update: 2012-09-08
    
    a b  
    10401040            links { "c", }
    10411041        end
    10421042
     1043        if os.getversion().description == "GNU/kFreeBSD" then
     1044            links { "dl", }
     1045        end
     1046
    10431047        buildoptions { "-fno-strict-aliasing" }
    10441048
    10451049        buildoptions { "-rdynamic" }