Changes necessary for shared library linking to succeed.

diff --git a/src/Makefile.in b/src/Makefile.in
index 9534473..12411bf 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -73,7 +73,7 @@ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
 	$(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+LINK = HDF4_USE_SHLIB=yes $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
 SOURCES = $(libhdfeos_la_SOURCES)
 DIST_SOURCES = $(libhdfeos_la_SOURCES)
@@ -125,8 +125,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
-# Set LDFLAGS to alow the HDF-EOS library to use extern variables from HDF4
-LDFLAGS = -Wl,-single_module
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@

ss='sub'>Wojtek's customized Guix</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/guix/about/'>about</a><a href='/guix/'>summary</a><a href='/guix/refs/?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>refs</a><a class='active' href='/guix/log/gnu/packages/image-processing.scm'>log</a><a href='/guix/tree/gnu/packages/image-processing.scm?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>tree</a><a href='/guix/commit/gnu/packages/image-processing.scm?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>commit</a><a href='/guix/diff/gnu/packages/image-processing.scm?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>diff</a></td><td class='form'><form class='right' method='get' action='/guix/log/gnu/packages/image-processing.scm'>
<input type='hidden' name='id' value='19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/guix/log/?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>root</a>/<a href='/guix/log/gnu?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>gnu</a>/<a href='/guix/log/gnu/packages?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>packages</a>/<a href='/guix/log/gnu/packages/image-processing.scm?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe'>image-processing.scm</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/guix/log/gnu/packages/image-processing.scm?id=19d8f047c4c57829a2c09ef463ba00b6ceb36bfe&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th></tr>
<tr><td><span title='2019-01-15 14:46:44 +0100'>2019-01-15</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=44d10b1f722856ab8e9b942804aa7ef33e2ef739'>gnu: Separate Python core packages from the rest.</a><span class='msg-avail'>...</span></td><td>Ricardo Wurmus</td></tr>
<tr><td><span title='2019-01-15 13:20:14 +0200'>2019-01-15</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=ebe0271aa0d4f7eb91a1c48c34fee8825bf5ead4'>gnu: opencv: Update configure flags.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-14 15:07:42 +0200'>2019-01-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=6c56e9c493a737bf26fb8e54aff716b463bf4378'>gnu: opencv: Use 'git-fetch'.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-14 15:07:42 +0200'>2019-01-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=8e21fa0bd347117ae907827272f95cf4647a0af7'>gnu: opencv: Loosen test suite failures.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-14 15:07:42 +0200'>2019-01-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=fdeb2def6a65887113ce77af1be1fef4d156caa7'>gnu: opencv: Update configure flags.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-14 15:07:41 +0200'>2019-01-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=b5baf9529e65c2aff07375e26d5c860b68ca0bb9'>gnu: opencv: Don't hardcode build directories.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-14 15:07:41 +0200'>2019-01-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=6949f45c105fe75d424420becf854030bf382378'>gnu: opencv: Fix building on non-x86_64 systems.</a><span class='msg-avail'>...</span></td><td>Efraim Flashner</td></tr>
<tr><td><span title='2019-01-06 00:22:05 +0100'>2019-01-06</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=e506b5e95d63296d490e31d1fd1d0d7502126e04'>gnu: Add nip2.</a><span class='msg-avail'>...</span></td><td>Lprndn</td></tr>
<tr><td><span title='2018-12-23 23:22:20 +0100'>2018-12-23</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=37c1cf89fdc54db935423411c57793703e823ade'>gnu: vips: Update synopsis and description.</a><span class='msg-avail'>...</span></td><td>Marius Bakke</td></tr>
<tr><td><span title='2018-12-21 18:07:28 +0100'>2018-12-21</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=5bbd69319eadca85f9e039fb6c50e1408371e557'>gnu: Add vips.</a><span class='msg-avail'>...</span></td><td>Lprndn</td></tr>
<tr><td><span title='2018-10-04 09:48:45 +0200'>2018-10-04</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=63856931dbe1e72311b472347331ce1c16b0de0b'>gnu: opencv: Update to 3.4.3.</a><span class='msg-avail'>...</span></td><td>Björn Höfling</td></tr>
<tr><td><span title='2018-05-17 01:00:50 -0400'>2018-05-17</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=539bf8f2c071b53834829259bb3fabf0390c5dc6'>Merge branch 'master' into core-updates</a></td><td>Mark H Weaver</td></tr>
<tr><td><span title='2018-05-14 23:01:36 +0200'>2018-05-14</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=5834e4b70aef727d591c271ce3141ed23753377e'>gnu: opencv: Ignore CVEs.</a><span class='msg-avail'>...</span></td><td>Björn Höfling</td></tr>
<tr><td><span title='2018-05-09 23:50:41 +0200'>2018-05-09</span></td><td><a href='/guix/commit/gnu/packages/image-processing.scm?id=62834314434323e5250f9d99b35d523ca216b540'>gnu: Add opencv.</a><span class='msg-avail'>...</span></td><td>Björn Höfling</td></tr>