diff options
author | Anton Khirnov <anton@khirnov.net> | 2018-08-01 20:13:58 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2018-08-01 20:14:28 +0200 |
commit | 0c2415fba915161f8d08a95f67596c39122d77f5 (patch) | |
tree | dbced6a45ff1366e013654ca7f98d2a64102d5eb /Makefile | |
parent | 880ab9a8038f06c397c7803e3f4987695fec9bde (diff) |
Do not export private symbols in the shared object.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ CFLAGS = -std=c99 -D_XOPEN_SOURCE=700 -fPIC -g -LDFLAGS = -shared -lm +LDFLAGS = -Wl,--version-script=libmg2d.v -shared -lm +CC = cc TARGET = libmg2d.so @@ -12,7 +13,7 @@ OBJECTS = \ all: $(TARGET) $(TARGET): $(OBJECTS) - ld ${LDFLAGS} -o $@ $(OBJECTS) + $(CC) ${LDFLAGS} -o $@ $(OBJECTS) clean: -rm $(OBJECTS) $(TARGET) |