diff --git a/Makefile b/Makefile index e75f536..93567aa 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ PKGCONFIGDIR = ${LIBDIR}/pkgconfig XCFLAGS = ${CPPFLAGS} ${CFLAGS} -std=c99 -fPIC -pthread -D_XOPEN_SOURCE=700 \ -Wall -Wextra -Wpedantic -Wmissing-prototypes -Wstrict-prototypes \ -Wno-unused-parameter -XLDFLAGS = ${LDFLAGS} -shared -Wl,-soname,libudev.so.1 +XLDFLAGS = ${LDFLAGS} -shared -Wl,-soname,libudev.so.1 \ + -Wl,-version-script,libudev.sym XARFLAGS = -rc OBJ = \ diff --git a/libudev.sym b/libudev.sym new file mode 100644 index 0000000..b69bb3b --- /dev/null +++ b/libudev.sym @@ -0,0 +1 @@ +LIBUDEV_183 {};