yindian / marisa-trie

Automatically exported from code.google.com/p/marisa-trie
Other
0 stars 0 forks source link

Marisa 0.2.4: Shared library doesn't build in MSys/MinGW64 #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure --prefix=/e/SDK/env-gcc-4.8-64bit --enable-sse2 --enable-sse3 
--enable-ssse3 --enable-sse4 --enable-sse4.1 --enable-sse4.2
2. make
3. make install

What is the expected output? What do you see instead?
Expect both shared and static libraries built. But only static library gets 
built.

What version of the product are you using? On what operating system?
Marisa 0.2.4, MSys, MinGW64, Windows 8.1 64bit.

Please provide any additional information below.
Configuring with --enable-static=no produces makefile that does nothing.
Missing rules for shared library?

Original issue reported on code.google.com by mystkee...@gmail.com on 27 Nov 2014 at 12:56

GoogleCodeExporter commented 8 years ago
I've found a solution for that.
Add to /lib/Makefile.am:

libmarisa_la_LDFLAGS = -no-undefined

Original comment by mystkee...@gmail.com on 17 Dec 2014 at 10:09