There was an error while loading. Please reload this page.
1 parent 465fde6 commit 2417337Copy full SHA for 2417337
0x18-dynamic_libraries/1-create_dynamic_lib.sh
@@ -0,0 +1,4 @@
1
+#!/bin/bash
2
+gcc -Wall -Wextra -Werror -pedantic -c -fPIC *.c
3
+gcc -shared -o liball.so *.o
4
+export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
0 commit comments