Pass resourse file to linker

master
Yevgen Muntyan 2006-11-20 00:56:24 -06:00
parent 957273f1f3
commit 3f8a4b4535
2 changed files with 11 additions and 10 deletions

View File

@ -293,16 +293,16 @@
</kdevdoctreeview> </kdevdoctreeview>
<kdevfilecreate> <kdevfilecreate>
<filetypes> <filetypes>
<type icon="source" ext="g" name="GAP source" create="template" > <type icon="source" ext="g" create="template" name="GAP source" >
<descr>A new empty GAP source file</descr> <descr>A new empty GAP source file</descr>
</type> </type>
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" > <type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
<descr>A new empty C++ file.</descr> <descr>A new empty C++ file.</descr>
</type> </type>
<type icon="source_h" ext="h" name="C/C++ Header" create="template" > <type icon="source_h" ext="h" create="template" name="C/C++ Header" >
<descr>A new empty header file for C/C++.</descr> <descr>A new empty header file for C/C++.</descr>
</type> </type>
<type icon="source_c" ext="c" name="C Source" create="template" > <type icon="source_c" ext="c" create="template" name="C Source" >
<descr>A new empty C file.</descr> <descr>A new empty C file.</descr>
</type> </type>
</filetypes> </filetypes>

View File

@ -53,18 +53,19 @@ else
noinst_LTLIBRARIES += libmoo.la noinst_LTLIBRARIES += libmoo.la
endif endif
libmoo_la_LIBADD = $(libs) $(MOO_LIBS)
# libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) -no-undefined -avoid-version -export-symbols-regex "^(moo_|ms_).*"
libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) -no-undefined -avoid-version -export-symbols-regex ".*"
libmoo_la_SOURCES = $(moo_include_headers)
if MOO_OS_MINGW if MOO_OS_MINGW
libmoo_la_LIBADD += libmoo.res
CLEANFILES = libmoo.res CLEANFILES = libmoo.res
libmoo_res_ldflag = -Wl,libmoo.res
libmoo_la_DEPENDENCIES = libmoo.res
libmoo.res: libmoo.rc libmoo.res: libmoo.rc
$(WINDRES) -i libmoo.rc --input-format=rc -o libmoo.res -O coff $(WINDRES) -i libmoo.rc --input-format=rc -o libmoo.res -O coff
endif endif
libmoo_la_LIBADD = $(libs) $(MOO_LIBS)
# libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex "^(moo_|ms_).*"
libmoo_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) $(libmoo_res_ldflag) -no-undefined -avoid-version -export-symbols-regex ".*"
libmoo_la_SOURCES = $(moo_include_headers)
moo_la_ldflags = -no-undefined -module -avoid-version -export-symbols-regex initmoo moo_la_ldflags = -no-undefined -module -avoid-version -export-symbols-regex initmoo
pymoo_la_ldflags = -no-undefined -module -avoid-version -export-symbols-regex moo_module_init pymoo_la_ldflags = -no-undefined -module -avoid-version -export-symbols-regex moo_module_init