Skip to content
Snippets Groups Projects
Unverified Commit d9de8059 authored by Simon K's avatar Simon K
Browse files

Change g++ parameter order

fixes ld errors on my machine (ubuntu 20.04)
parent 81c2b46f
No related branches found
No related tags found
No related merge requests found
......@@ -6,5 +6,5 @@ EXTRA_FLAGS ?=
secret:
mkdir -p ../bin/
$(CXX) $(CXXFLAGS) $(EXTRA_FLAGS) unlock_keyrings.cc -o ../bin/unlock_keyrings
$(CXX) unlock_keyrings.cc -o ../bin/unlock_keyrings $(CXXFLAGS) $(EXTRA_FLAGS)
#!/bin/bash
eval g++ $(pkg-config --cflags --libs gnome-keyring-1) list_keyrings.cc -o list.out &&
cd $(dirname $0)
eval g++ list_keyrings.cc -o list.out -Wno-deprecated-declarations $(pkg-config --cflags --libs gnome-keyring-1) &&
./list.out
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment