diff options
| author | Mosder <git@mosder.eu> | 2026-09-16 14:21:18 +0200 |
|---|---|---|
| committer | Mosder <git@mosder.eu> | 2026-09-16 14:21:18 +0200 |
| commit | 2b31f83e8a92a6da1956c992d63afa2fb3dc29c4 (patch) | |
| tree | 4165c8397a687b6afeb0145e64339dd703a32080 /Makefile | |
| parent | 5e6f4b1d2c096ce274960ad74810f15a04ddc0c3 (diff) | |
feat: made protable-ish stripping for both static and shared libraries
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,11 +12,13 @@ endif both: shared static clean shared: compile headers - $(CC) -s -shared *.o -o libmoslib.so + $(CC) -shared *.o -o libmoslib.so + strip -x libmoslib.so sudo mv libmoslib.so /usr/local/lib static: compile headers $(AR) libmoslib.a *.o + strip -S libmoslib.a sudo mv libmoslib.a /usr/local/lib headers: |
