KPovmodeller part versioned ?

Andreas Zehender zehender at kde.org
Sat Dec 6 22:37:57 GMT 2003


Hi!

> The change is correct but not enough, you should use -module in the
> LDFLAGS, and $(KDE_PLUGIN). See kdelibs/NAMING.

OK, changed.
Makefile.am looks now like this:

libkpovmodelerpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module 
$(KDE_PLUGIN) $(LIBFREETYPE_RPATH)
libkpovmodelerpart_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) 
-lXmu -lXi
libkpovmodelerpart_la_METASOURCES = AUTO

kpovmodeler_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kpovmodeler_SOURCES = main.cpp
kpovmodeler_LDADD = libkpovmodelerpart.la $(LIB_KFILE)

I now get this warning:

*** Warning: Linking the executable kpovmodeler against the loadable module
*** libkpovmodelerpart.so is not portable!

Can this warning be ignored or are there still errors in the Makefile.am?

Greetings, Andreas

-- 
--------------------------------------------------
 Andreas Zehender
 Master of Computer Science, Dipl. Ing. (BA)
 http://www.azweb.de
 az at azweb.de | zehender at kde.org      
--------------------------------------------------




More information about the kde-core-devel mailing list