summaryrefslogtreecommitdiff
blob: 2f4f8c922431770c82160cead133617aaf2d438d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/compile/Make_gcc.mak b/compile/Make_gcc.mak
index f042ac6..f91fe92 100644
--- a/compile/Make_gcc.mak
+++ b/compile/Make_gcc.mak
@@ -28,7 +28,7 @@ include compile/clean_unix.mak
 #
 $(libmigemo_LIB): $(libmigemo_DSO)
 $(libmigemo_DSO): $(libmigemo_OBJ)
-	$(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ)
+	$(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS)
 	$(RM) $@ $(libmigemo)
 	ln -s $(libmigemo_LIB) $@
 	ln -s $(libmigemo_LIB) $(libmigemo)