diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
commit | a7738f4dc72c9445623cd6f5348d7a80d4e52690 (patch) | |
tree | b336daf9b226783c39e6e985410cecf46484de3d /debian/patches/drop-extra-deps.patch | |
download | fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.gz fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.bz2 fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.zip |
initial commit, straight from apt-get source
Diffstat (limited to 'debian/patches/drop-extra-deps.patch')
-rw-r--r-- | debian/patches/drop-extra-deps.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/drop-extra-deps.patch b/debian/patches/drop-extra-deps.patch new file mode 100644 index 0000000..4c3957e --- /dev/null +++ b/debian/patches/drop-extra-deps.patch @@ -0,0 +1,13 @@ +Description: use --as-needed linker flag to avoid unnecessary dependencies +Author: Dmitry Borisyuk <q1werty@i.com.ua> +--- a/Makefile ++++ b/Makefile +@@ -30,7 +30,7 @@ + + TARGET = fbxkb + $(TARGET): $(OBJ) +- $(CC) $(LDFLAGS) $(LIBS) $(OBJ) -o $@ ++ $(CC) $(LDFLAGS) $(OBJ) -Wl,--as-needed $(LIBS) -o $@ + + all: $(TARGET) + |