Ticket #12426: libmythservicecontracts.osx.patch

File libmythservicecontracts.osx.patch, 729 bytes (added by anonymous, 5 years ago)
  • mythtv/libs/libmythservicecontracts/libmythservicecontracts.pro

    a b INCLUDEPATH += ./datacontracts 
    6161INCLUDEPATH += ./services
    6262
    6363# needed only for enums in programtypes.h, recordingtypes.h
    64 DEPENDPATH += ../libmyth
     64DEPENDPATH += ../libmyth ../libmythbase
    6565INCLUDEPATH += $$DEPENDPATH
    6666
    6767inc.path = $${PREFIX}/include/mythtv/libmythservicecontracts/
    macx { 
    110110    QMAKE_LFLAGS_SHLIB += -flat_namespace
    111111}
    112112
     113darwin {
     114   HEADERS += ../libmyth/programtypes.h
     115   SOURCES += ../libmyth/programtypes.cpp
     116   LIBS += -L../libmythbase -lmythbase-$${LIBVERSION}
     117}
     118
    113119use_hidesyms {
    114120    QMAKE_CXXFLAGS += -fvisibility=hidden
    115121}