Ticket #47661: patch-shlib-extensions.diff

File patch-shlib-extensions.diff, 1.7 KB (added by RJVB (René Bertin), 10 years ago)
  • gui/qt4/gwengui-qt4-config.cmake.in

    diff --git gui/qt4/gwengui-qt4-config.cmake.in gui/qt4/gwengui-qt4-config.cmake.in
    index 8b2b0fb..8225914 100644
    if(NOT EXISTS "${_file}") 
    2222      set_and_check(exec_prefix "@exec_prefix@")
    2323      set_and_check(includedir "@includedir@")
    2424      set_and_check(GWENGUI_QT4_INCLUDE_DIRS "@gwenhywfar_headerdir@")
    25       set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.so")
    26       set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.so")
     25      if(APPLE)
     26        set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.dylib")
     27        set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.dylib")
     28      else()
     29        set_and_check(GWENGUI_QT4_LIBRARIES "@libdir@/libgwengui-qt4.so")
     30        set_and_check(GWENHYWFAR_CPP_LIBRARIES "@libdir@/libgwengui-cpp.so")
     31      endif(APPLE)
    2732
    2833      set(GWENGUI_QT4_LIBRARIES ${GWENGUI_QT4_LIBRARIES} ${GWENHYWFAR_CPP_LIBRARIES})
    2934
  • gwenhywfar-config.cmake.in

    diff --git gwenhywfar-config.cmake.in gwenhywfar-config.cmake.in
    index 82955da..fabef61 100644
    set_and_check(prefix "@prefix@") 
    2323set_and_check(exec_prefix "@exec_prefix@")
    2424set_and_check(includedir "@includedir@")
    2525set_and_check(GWENHYWFAR_INCLUDE_DIRS "@gwenhywfar_headerdir@")
    26 set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.so.@GWENHYWFAR_SO_EFFECTIVE@")
     26if(APPLE)
     27  set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.@GWENHYWFAR_SO_EFFECTIVE@.dylib")
     28else()
     29  set_and_check(GWENHYWFAR_LIBRARIES "@libdir@/libgwenhywfar.so.@GWENHYWFAR_SO_EFFECTIVE@")
     30endif(APPLE)
    2731
    2832# find components
    2933