commit | 3cfb34564f7e420659b831f99b42eb81b141e938 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Feb 13 13:34:08 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Feb 13 13:34:08 2015 +0000 |
tree | 4e1afeabce53520f72c2027e52939de7ae0ae4fd | |
parent | 418080010a1dcc1cdcb192e603a8c3b9656dcb1a [diff] [blame] |
Avoid warning from mingw for shared library
diff --git a/library/Makefile b/library/Makefile index 44a725c..f2e553f 100644 --- a/library/Makefile +++ b/library/Makefile
@@ -19,8 +19,11 @@ # To compile as a shared library: ifdef SHARED +# all code is position-indep with mingw, avoid warning about useless flag +ifndef WINDOWS CFLAGS += -fPIC endif +endif SOVERSION=8