summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ebuild-writing/functions/src_compile/no-build-system/text.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebuild-writing/functions/src_compile/no-build-system/text.xml b/ebuild-writing/functions/src_compile/no-build-system/text.xml
index 43e4678..5d71708 100644
--- a/ebuild-writing/functions/src_compile/no-build-system/text.xml
+++ b/ebuild-writing/functions/src_compile/no-build-system/text.xml
@@ -32,7 +32,7 @@ src_compile() {
gcc -c $CONFIG $CFLAGS top_three.c -o top_three2.o || die
gcc -c $CONFIG $CFLAGS gkrelltop.c -o gkrelltop2.o || die
- gcc $LIBS $CONFIG $CFLAGS -o gkrelltop2.so $OBJS || die
+ gcc $LDFLAGS $CONFIG $CFLAGS -o gkrelltop2.so $OBJS $LIBS || die
}
</codesample>