Menu

#5 free-solid-pkgconfig.patch

open
nobody
None
5
2024-10-28
2012-02-06
MartinKG
No

this patch is necessary to compile free-solid-2.1.1 on Fedora 16.

Discussion

  • MartinKG

    MartinKG - 2012-02-06

    free-solid-pkgconfig.patch

     
  • Maxim Cournoyer

    Maxim Cournoyer - 2024-10-25

    That one is useful to build Speed-Dreams for example, which uses CMake, which uses pkg-config to find FreeSOLID.

     
  • Maxim Cournoyer

    Maxim Cournoyer - 2024-10-28

    I've fixed the missing @@ quotes on exec_libdir and added an extra -I include directive (and removed system hardcoded /usr/lib one):

    diff --git a/FreeSOLID.pc.in b/FreeSOLID.pc.in
    new file mode 100644
    index 0000000..c354f05
    --- /dev/null
    +++ b/FreeSOLID.pc.in
    @@ -0,0 +1,12 @@
    +prefix=@prefix@
    +exec_prefix=@exec_prefix@
    +libdir=@libdir@
    +includedir=@includedir@
    +
    +Name: FreeSolid
    +Description: 3D collision detection C++ library
    +Version: @VERSION@
    +
    +Libs: -L${libdir} -lFreeSOLID @QHULL_LIBS@
    +Cflags: -I${includedir} -I${includedir}/FreeSOLID
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.