diff options
author | Jaroslav Kysela <perex@perex.cz> | 2003-03-11 18:51:32 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2003-03-11 18:51:32 +0000 |
commit | fea03e9eba3c39ac0945305bae5504d7b15302c6 (patch) | |
tree | fc52463aec3a56aaf4cf1ef6fc2908c2bfacb6a4 /src/Makefile.am | |
parent | 915de60abf878b106e1b4e8174c5de0d760ad07e (diff) | |
download | alsa-lib-fea03e9eba3c39ac0945305bae5504d7b15302c6.tar.gz |
Fixed compilation --with-versioned=no
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 95c7c587..b631d174 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,12 @@ SUBDIRS=control mixer pcm rawmidi timer hwdep seq instr compat conf EXTRA_DIST=Versions COMPATNUM=@LIBTOOL_VERSION_INFO@ +if VERSIONED_SYMBOLS +VSYMS = -Wl,--version-script=Versions +else +VSYMS = +endif + lib_LTLIBRARIES = libasound.la libasound_la_SOURCES = conf.c confmisc.c input.c output.c async.c error.c dlmisc.c libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \ @@ -10,7 +16,7 @@ libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \ compat/libcompat.la -lm -ldl -lpthread libasound_la_LDFLAGS = -version-info $(COMPATNUM) -LDFLAGS = -Wl,--version-script=Versions +LDFLAGS = $(VSYMS) control/libcontrol.la: $(MAKE) -C control libcontrol.la |