[mythtv-commits] Ticket #2230: mytharchivehelper Makefile needs an additional -L

MythTV mythtv at cvs.mythtv.org
Wed Aug 30 03:34:45 UTC 2006


#2230: mytharchivehelper Makefile needs an additional -L
------------------------------------+---------------------------------------
 Reporter:  jason.fisher at gmail.com  |        Owner:  paulh
     Type:  defect                  |       Status:  new  
 Priority:  minor                   |    Milestone:       
Component:  mytharchive             |      Version:       
 Severity:  medium                  |   Resolution:       
------------------------------------+---------------------------------------
Comment (by jason.fisher at gmail.com):

 OK, I think I got it.

 mytharchivehelper.pro is using TEMPLATE = app, so I believe that's giving
 you a different set of default libs than most of the other plugins.  I saw
 that mythbrowser also uses TEMPLATE = app and as I haven't had trouble
 compiling that, I looked at how they handle libs.

 mythbrowser/mythbrowser/mythbrowser.pro:

 LIBS += -lmyth-$$LIBVERSION -lmythui-$$LIBVERSION $$EXTRA_LIBS

 So mytharchive/mytharchivehelper/mytharchivehelper.pro:

 LIBS += -L$${PREFIX}/lib $$EXTRA_LIBS

 and a make clean;qmake mytharchivehelper.pro;make and it now compiles
 perfectly.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2230#comment:7>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list